diff --git a/roles/matrix-base/tasks/setup_server_base.yml b/roles/matrix-base/tasks/setup_server_base.yml index 7f174994..b32355c5 100644 --- a/roles/matrix-base/tasks/setup_server_base.yml +++ b/roles/matrix-base/tasks/setup_server_base.yml @@ -75,7 +75,7 @@ - docker-ce state: latest update_cache: yes - when: "'docker.io' not in ansible_facts.packages" + when: ansible_os_family == 'Debian' and 'docker.io' not in ansible_facts.packages - name: Ensure Docker is started and autoruns service: