matrix-docker-ansible-deploy/roles/matrix-base/tasks/util/ensure_fuse_installed.yml

24 lines
529 B
YAML
Raw Normal View History

---
# This is for both RedHat 7 and 8
- name: Ensure fuse installed (RedHat)
ansible.builtin.yum:
name:
- fuse
state: present
when: ansible_os_family == 'RedHat'
# This is for both Debian and Raspbian
- name: Ensure fuse installed (Debian/Raspbian)
ansible.builtin.apt:
name:
- fuse
state: present
when: ansible_os_family == 'Debian'
- name: Ensure fuse installed (Archlinux)
community.general.pacman:
name:
- fuse3
state: present
when: ansible_distribution == 'Archlinux'