2022-02-05 20:32:54 +00:00
|
|
|
---
|
2022-02-06 16:05:25 +00:00
|
|
|
# This is for both RedHat 7 and 8
|
|
|
|
- name: Ensure openssl installed (RedHat)
|
2022-07-18 07:39:08 +00:00
|
|
|
ansible.builtin.yum:
|
2022-01-20 05:58:39 +00:00
|
|
|
name:
|
|
|
|
- openssl
|
|
|
|
state: latest
|
2022-02-06 16:05:25 +00:00
|
|
|
when: ansible_os_family == 'RedHat'
|
2022-01-20 05:58:39 +00:00
|
|
|
|
|
|
|
# This is for both Debian and Raspbian
|
2022-01-20 06:02:20 +00:00
|
|
|
- name: Ensure openssl installed (Debian/Raspbian)
|
2022-07-18 07:39:08 +00:00
|
|
|
ansible.builtin.apt:
|
2022-01-20 05:58:39 +00:00
|
|
|
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'
|