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
|
2022-07-18 11:08:35 +00:00
|
|
|
state: present
|
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
|
2022-07-18 11:08:35 +00:00
|
|
|
state: present
|
2022-01-08 12:14:46 +00:00
|
|
|
when: ansible_os_family == 'Debian'
|
|
|
|
|
|
|
|
- name: Ensure fuse installed (Archlinux)
|
2022-10-28 11:20:17 +00:00
|
|
|
community.general.pacman:
|
2022-01-08 12:14:46 +00:00
|
|
|
name:
|
|
|
|
- fuse3
|
2022-07-18 11:08:35 +00:00
|
|
|
state: present
|
2022-01-08 12:14:46 +00:00
|
|
|
when: ansible_distribution == 'Archlinux'
|