Add the docker_install missing variable.

This commit is contained in:
Andrea Dell'Amico 2020-08-13 16:12:18 +02:00
parent 5b4c34b29b
commit 2d61773b45
2 changed files with 3 additions and 2 deletions

View File

@ -1,4 +1,5 @@
---
docker_install: True
# Swarm
docker_swarm: False
docker_swarm_manager: False

View File

@ -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