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
This commit is contained in:
parent
5ef70015cb
commit
663f0bc5ef
@ -1,12 +1,6 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
# This is for both RedHat 7 and 8
|
- name: Ensure openssl installed
|
||||||
- ansible.builtin.include_tasks: "{{ role_path }}/tasks/ensure_openssl_installed_redhat.yml"
|
ansible.builtin.package:
|
||||||
when: ansible_os_family == 'RedHat'
|
name: openssl
|
||||||
|
state: present
|
||||||
# This is for both Debian and Raspbian
|
|
||||||
- ansible.builtin.include_tasks: "{{ role_path }}/tasks/ensure_openssl_installed_debian.yml"
|
|
||||||
when: ansible_os_family == 'Debian'
|
|
||||||
|
|
||||||
- ansible.builtin.include_tasks: "{{ role_path }}/tasks/ensure_openssl_installed_archlinux.yml"
|
|
||||||
when: ansible_os_family == 'Archlinux'
|
|
||||||
|
@ -1,6 +0,0 @@
|
|||||||
---
|
|
||||||
|
|
||||||
- name: Ensure openssl installed (Archlinux)
|
|
||||||
community.general.pacman:
|
|
||||||
name: openssl
|
|
||||||
state: present
|
|
@ -1,6 +0,0 @@
|
|||||||
---
|
|
||||||
|
|
||||||
- name: Ensure openssl installed (Debian/Raspbian)
|
|
||||||
ansible.builtin.apt:
|
|
||||||
name: openssl
|
|
||||||
state: present
|
|
@ -1,6 +0,0 @@
|
|||||||
---
|
|
||||||
|
|
||||||
- name: Ensure openssl installed (RedHat)
|
|
||||||
ansible.builtin.yum:
|
|
||||||
name: openssl
|
|
||||||
state: present
|
|
Loading…
Reference in New Issue
Block a user