From 77c4c59ff17789919a094d787729ff2b7ce6ef9a Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Thu, 15 Oct 2020 13:54:20 +0200 Subject: [PATCH] Fix the docker_swarm conditionals --- tasks/main.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index 133e1c9..10c3ffc 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -3,7 +3,6 @@ user: name=docker comment="Docker User" shell=/bin/bash home={{ docker_user_home }} system=yes when: docker_run_as_docker_user - - import_tasks: deb_pkgs.yml when: ansible_distribution_file_variety == "Debian" - import_tasks: el_pkgs.yml @@ -12,7 +11,7 @@ - import_tasks: docker_setup.yml - import_tasks: swarm_mgr.yml - when: docker_swarm | bool + when: docker_swarm - import_tasks: swarm_node.yml - when: docker_swarm | bool + when: docker_swarm