c1c152f7ac
This avoids Ansible trying to ensure `community.general.pacman` is available, even if that module will never run (because `when` says so). Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2228
13 lines
494 B
YAML
13 lines
494 B
YAML
---
|
|
|
|
# This is for both RedHat 7 and 8
|
|
- ansible.builtin.include_tasks: "{{ role_path }}/tasks/util/ensure_openssl_installed_redhat.yml"
|
|
when: ansible_os_family == 'RedHat'
|
|
|
|
# This is for both Debian and Raspbian
|
|
- ansible.builtin.include_tasks: "{{ role_path }}/tasks/util/ensure_openssl_installed_debian.yml"
|
|
when: ansible_os_family == 'Debian'
|
|
|
|
- ansible.builtin.include_tasks: "{{ role_path }}/tasks/util/ensure_openssl_installed_archlinux.yml"
|
|
when: ansible_os_family == 'Archlinux'
|