Add the docker_install missing variable.
This commit is contained in:
parent
5b4c34b29b
commit
2d61773b45
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
docker_install: True
|
||||
# Swarm
|
||||
docker_swarm: False
|
||||
docker_swarm_manager: False
|
||||
|
|
|
@ -33,12 +33,12 @@
|
|||
- name: Ensure that the service is started and enabled
|
||||
service: name=docker state=started enabled=yes
|
||||
|
||||
when: docker_install | bool
|
||||
when: docker_install
|
||||
tags: docker
|
||||
|
||||
- block:
|
||||
- name: Remove the docker user
|
||||
user: name=docker state=absent
|
||||
|
||||
when: not docker_install | bool
|
||||
when: not docker_install
|
||||
tags: docker
|
||||
|
|
Loading…
Reference in New Issue