1
0
mirror of https://github.com/spantaleev/matrix-docker-ansible-deploy.git synced 2024-12-18 09:35:22 +02:00
matrix-docker-ansible-deploy/roles/custom/matrix-synapse/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
..
ext matrix_*_retries_{count,delay} -> devture_playbook_help_*_retries_{count,delay} 2022-11-04 16:44:29 +02:00
goofys Include ensure_openssl_installed and ensure_fuse_installed utils in a more reliable way 2022-11-05 09:18:58 +02:00
rust-synapse-compress-state matrix_*_retries_{count,delay} -> devture_playbook_help_*_retries_{count,delay} 2022-11-04 16:44:29 +02:00
synapse matrix_*_retries_{count,delay} -> devture_playbook_help_*_retries_{count,delay} 2022-11-04 16:44:29 +02:00
import_media_store.yml Move roles/matrix* to roles/custom/matrix* 2022-11-03 09:11:29 +02:00
init.yml Move roles/matrix* to roles/custom/matrix* 2022-11-03 09:11:29 +02:00
main.yml Move roles/matrix* to roles/custom/matrix* 2022-11-03 09:11:29 +02:00
register_user.yml Move roles/matrix* to roles/custom/matrix* 2022-11-03 09:11:29 +02:00
self_check_client_api.yml Move roles/matrix* to roles/custom/matrix* 2022-11-03 09:11:29 +02:00
self_check_federation_api.yml Move roles/matrix* to roles/custom/matrix* 2022-11-03 09:11:29 +02:00
setup_synapse.yml Move roles/matrix* to roles/custom/matrix* 2022-11-03 09:11:29 +02:00
update_user_password.yml matrix_host_command_docker -> devture_systemd_docker_base_host_command_docker (via com.devture.ansible.role.systemd_docker_base) 2022-11-04 16:39:35 +02:00
validate_config.yml Move roles/matrix* to roles/custom/matrix* 2022-11-03 09:11:29 +02:00