You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
493 B
24 lines
493 B
---
|
|
# This is for both RedHat 7 and 8
|
|
- name: Ensure openssl installed (RedHat)
|
|
yum:
|
|
name:
|
|
- openssl
|
|
state: latest
|
|
when: ansible_os_family == 'RedHat'
|
|
|
|
# This is for both Debian and Raspbian
|
|
- name: Ensure openssl installed (Debian/Raspbian)
|
|
apt:
|
|
name:
|
|
- openssl
|
|
state: latest
|
|
when: ansible_os_family == 'Debian'
|
|
|
|
- name: Ensure openssl installed (Archlinux)
|
|
pacman:
|
|
name:
|
|
- openssl
|
|
state: latest
|
|
when: ansible_distribution == 'Archlinux'
|