2022-02-05 21:32:54 +01:00
|
|
|
---
|
2022-02-06 17:05:25 +01:00
|
|
|
# This is for both RedHat 7 and 8
|
|
|
|
- name: Ensure fuse installed (RedHat)
|
2022-07-18 09:39:08 +02:00
|
|
|
ansible.builtin.yum:
|
2022-01-08 13:14:46 +01:00
|
|
|
name:
|
|
|
|
- fuse
|
|
|
|
state: latest
|
2022-02-06 17:05:25 +01:00
|
|
|
when: ansible_os_family == 'RedHat'
|
2022-01-08 13:14:46 +01:00
|
|
|
|
|
|
|
# This is for both Debian and Raspbian
|
|
|
|
- name: Ensure fuse installed (Debian/Raspbian)
|
2022-07-18 09:39:08 +02:00
|
|
|
ansible.builtin.apt:
|
2022-01-08 13:14:46 +01:00
|
|
|
name:
|
|
|
|
- fuse
|
|
|
|
state: latest
|
|
|
|
when: ansible_os_family == 'Debian'
|
|
|
|
|
|
|
|
- name: Ensure fuse installed (Archlinux)
|
|
|
|
pacman:
|
|
|
|
name:
|
|
|
|
- fuse3
|
|
|
|
state: latest
|
|
|
|
when: ansible_distribution == 'Archlinux'
|