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
546 B
24 lines
546 B
3 years ago
|
---
|
||
3 years ago
|
# This is for both RedHat 7 and 8
|
||
|
- name: Ensure openssl installed (RedHat)
|
||
2 years ago
|
ansible.builtin.yum:
|
||
3 years ago
|
name:
|
||
|
- openssl
|
||
2 years ago
|
state: present
|
||
3 years ago
|
when: ansible_os_family == 'RedHat'
|
||
3 years ago
|
|
||
|
# This is for both Debian and Raspbian
|
||
3 years ago
|
- name: Ensure openssl installed (Debian/Raspbian)
|
||
2 years ago
|
ansible.builtin.apt:
|
||
3 years ago
|
name:
|
||
|
- openssl
|
||
2 years ago
|
state: present
|
||
3 years ago
|
when: ansible_os_family == 'Debian'
|
||
|
|
||
3 years ago
|
- name: Ensure openssl installed (Archlinux)
|
||
2 years ago
|
community.general.pacman:
|
||
3 years ago
|
name:
|
||
|
- openssl
|
||
2 years ago
|
state: present
|
||
3 years ago
|
when: ansible_distribution == 'Archlinux'
|