2022-02-05 22:32:54 +02:00
|
|
|
---
|
2022-02-06 18:05:25 +02: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 14:14:46 +02:00
|
|
|
name:
|
|
|
|
- fuse
|
2022-07-18 13:08:35 +02:00
|
|
|
state: present
|
2022-02-06 18:05:25 +02:00
|
|
|
when: ansible_os_family == 'RedHat'
|
2022-01-08 14:14:46 +02: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 14:14:46 +02:00
|
|
|
name:
|
|
|
|
- fuse
|
2022-07-18 13:08:35 +02:00
|
|
|
state: present
|
2022-01-08 14:14:46 +02:00
|
|
|
when: ansible_os_family == 'Debian'
|
|
|
|
|
|
|
|
- name: Ensure fuse installed (Archlinux)
|
|
|
|
pacman:
|
|
|
|
name:
|
|
|
|
- fuse3
|
2022-07-18 13:08:35 +02:00
|
|
|
state: present
|
2022-01-08 14:14:46 +02:00
|
|
|
when: ansible_distribution == 'Archlinux'
|