only enable openssl if necessary

This commit is contained in:
Wm Salt Hale
2022-01-19 21:58:39 -08:00
parent 6f1b165567
commit 3aa8c1f62c
4 changed files with 29 additions and 23 deletions

View File

@ -0,0 +1,23 @@
# 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
- name: Ensure fuse installed (Debian/Raspbian)
apt:
name:
- openssl
state: latest
when: ansible_os_family == 'Debian'
- name: Ensure fuse installed (Archlinux)
pacman:
name:
- openssl
state: latest
when: ansible_distribution == 'Archlinux'