2022-01-20 05:58:39 +00:00
|
|
|
|
|
|
|
# This is for both CentOS 7 and 8
|
|
|
|
- name: Ensure openssl installed (CentOS)
|
|
|
|
yum:
|
|
|
|
name:
|
|
|
|
- openssl
|
|
|
|
state: latest
|
|
|
|
when: ansible_distribution == 'CentOS'
|
|
|
|
|
|
|
|
# This is for both Debian and Raspbian
|
2022-01-20 06:02:20 +00:00
|
|
|
- name: Ensure openssl installed (Debian/Raspbian)
|
2022-01-20 05:58:39 +00:00
|
|
|
apt:
|
|
|
|
name:
|
|
|
|
- openssl
|
|
|
|
state: latest
|
|
|
|
when: ansible_os_family == 'Debian'
|
|
|
|
|
2022-01-20 06:02:20 +00:00
|
|
|
- name: Ensure openssl installed (Archlinux)
|
2022-01-20 05:58:39 +00:00
|
|
|
pacman:
|
|
|
|
name:
|
|
|
|
- openssl
|
|
|
|
state: latest
|
|
|
|
when: ansible_distribution == 'Archlinux'
|