This website requires JavaScript.
Explore
Help
Register
Sign In
self-hosted
/
matrix-docker-ansible-deploy
Watch
1
Star
0
Fork
0
You've already forked matrix-docker-ansible-deploy
mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced
2024-12-12 08:43:55 +02:00
Code
Issues
Releases
Activity
f9705b3323
matrix-docker-ansible-deploy
/
roles
/
custom
/
matrix-base
/
tasks
/
ensure_openssl_installed.yml
7 lines
102 B
YAML
Raw
Normal View
History
Unescape
Escape
Include ensure_openssl_installed and ensure_fuse_installed utils in a more reliable way This fixes a regression since the change done in c1c152f7acb931021acb3. 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:15:35 +02:00
---
Install openssl using ansible.builtin.package, not using a distro-specific package manager module Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2228
2022-11-05 12:10:59 +02:00
-
name
:
Ensure openssl installed
ansible.builtin.package
:
name
:
openssl
state
:
present
Reference in New Issue
Copy Permalink