mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-11-10 12:47:39 +01:00
Merge pull request #311 from hardye/non-debian-docker-ce-fix
Fix: Restrict a Debian-specific task to Debian OS.
This commit is contained in:
commit
334596436d
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user