matrix-docker-ansible-deploy/roles/custom/matrix-base/tasks
Slavi Pantaleev 2473cd655b Include ensure_openssl_installed and ensure_fuse_installed utils in a more reliable way
This fixes a regression since the change done in c1c152f7ac.
When another role (say `matrix-jitsi`) included `roles/custom/matrix-base/tasks/util/ensure_openssl_installed.yml`,
which then included `{{ role_path }}/tasks/util/ensure_openssl_installed_DISTRO.yml`,
that `role_path` variable would end up being the parent role
(`matrix-jitsi`) and not the `matrix-base` role, so we'd get a failure.

An alternative solution may have been to avoid using `role_path`, but
importing roles properly (like we've done in this patch) sounds like a better way.

Unfortunately, `import_role` fails if `tasks_from` is something like
`util/ensure_openssl_installed` (containing a `/`), so I had to move
these utils out of `util/`.

Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2228
2022-11-05 09:18:58 +02:00
..
server_base Install ntpd/systemd-timesync via com.devture.ansible.role.timesync 2022-11-04 16:34:23 +02:00
clean_up_old_files.yml
ensure_fuse_installed_archlinux.yml Include ensure_openssl_installed and ensure_fuse_installed utils in a more reliable way 2022-11-05 09:18:58 +02:00
ensure_fuse_installed_debian.yml Include ensure_openssl_installed and ensure_fuse_installed utils in a more reliable way 2022-11-05 09:18:58 +02:00
ensure_fuse_installed_redhat.yml Include ensure_openssl_installed and ensure_fuse_installed utils in a more reliable way 2022-11-05 09:18:58 +02:00
ensure_fuse_installed.yml Include ensure_openssl_installed and ensure_fuse_installed utils in a more reliable way 2022-11-05 09:18:58 +02:00
ensure_openssl_installed_archlinux.yml Include ensure_openssl_installed and ensure_fuse_installed utils in a more reliable way 2022-11-05 09:18:58 +02:00
ensure_openssl_installed_debian.yml Include ensure_openssl_installed and ensure_fuse_installed utils in a more reliable way 2022-11-05 09:18:58 +02:00
ensure_openssl_installed_redhat.yml Include ensure_openssl_installed and ensure_fuse_installed utils in a more reliable way 2022-11-05 09:18:58 +02:00
ensure_openssl_installed.yml Include ensure_openssl_installed and ensure_fuse_installed utils in a more reliable way 2022-11-05 09:18:58 +02:00
main.yml
sanity_check.yml
setup_matrix_base.yml Initial work on using externally defined roles 2022-11-04 14:58:28 +02:00
setup_matrix_user.yml
setup_well_known.yml