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 fuse installed (RedHat)
|
2022-07-18 07:39:08 +00:00
|
|
|
ansible.builtin.yum:
|
2022-01-08 12:14:46 +00:00
|
|
|
name:
|
|
|
|
- fuse
|
|
|
|
state: latest
|
2022-02-06 16:05:25 +00:00
|
|
|
when: ansible_os_family == 'RedHat'
|
2022-01-08 12:14:46 +00:00
|
|
|
|
|
|
|
# This is for both Debian and Raspbian
|
|
|
|
- name: Ensure fuse installed (Debian/Raspbian)
|
2022-07-18 07:39:08 +00:00
|
|
|
ansible.builtin.apt:
|
2022-01-08 12:14:46 +00:00
|
|
|
name:
|
|
|
|
- fuse
|
|
|
|
state: latest
|
|
|
|
when: ansible_os_family == 'Debian'
|
|
|
|
|
|
|
|
- name: Ensure fuse installed (Archlinux)
|
|
|
|
pacman:
|
|
|
|
name:
|
|
|
|
- fuse3
|
|
|
|
state: latest
|
|
|
|
when: ansible_distribution == 'Archlinux'
|