Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
when: ansible_distribution == '*OSNAME*
  • Loading branch information
MrDoobPG committed Sep 17, 2019
1 parent 42d50c8 commit 6afa5f2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions menu/roles/docker/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
- python3-pip
- virtualenv
- python3-setuptools
when: ansible_os_family == 'Debian'
when: ansible_distribution == 'Debian'

##Ubuntu part

Expand All @@ -85,7 +85,7 @@
- python3-pip
- virtualenv
- python3-setuptools
when: ansible_os_family == 'Ubuntu'
when: ansible_distribution == 'Ubuntu'

##Ubuntu and Debian repo adds

Expand Down Expand Up @@ -129,7 +129,7 @@

- name: Debian install Fix
shell: systemctl disable docker
when: ansible_os_family == 'Debian'
when: ansible_distribution == 'Debian'

- name: Check docker daemon.json exists
stat:
Expand Down Expand Up @@ -229,4 +229,4 @@
Output of `systemctl status docker`:
{{ service_docker_status.stdout }}
{{ service_docker_status.stderr }}
when: service_docker_status | failed
when: service_docker_status | failed

0 comments on commit 6afa5f2

Please sign in to comment.