mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2025-10-16 09:19:43 +02:00
This should bring better compatibility with future Ansible versions, one of which will some day drop support for accessing facts via the global namespace. Ref: https://github.com/geerlingguy/ansible-role-docker/pull/513
17 lines
583 B
YAML
17 lines
583 B
YAML
# SPDX-FileCopyrightText: 2022 Slavi Pantaleev
|
|
#
|
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
---
|
|
|
|
# This is for both RedHat 7 and 8
|
|
- ansible.builtin.include_tasks: "{{ role_path }}/tasks/ensure_fuse_installed_redhat.yml"
|
|
when: ansible_facts.os_family == 'RedHat'
|
|
|
|
# This is for both Debian and Raspbian
|
|
- ansible.builtin.include_tasks: "{{ role_path }}/tasks/ensure_fuse_installed_debian.yml"
|
|
when: ansible_facts.os_family == 'Debian'
|
|
|
|
- ansible.builtin.include_tasks: "{{ role_path }}/tasks/ensure_fuse_installed_archlinux.yml"
|
|
when: ansible_facts.os_family == 'Archlinux'
|