From 63257979874f88942fd1a4cb215b57991e23a0d4 Mon Sep 17 00:00:00 2001 From: Michal Zegan Date: Mon, 27 May 2019 13:49:29 +0200 Subject: Remove docker restart condition from docker role Docker role doesn't trigger docker restart when run in docker container (e.g. molecule). Remove the condition, as in dind case docker in container works same way as docker out of container. Change-Id: I8c80a09baccd76c78f2cbb8e474044351fd9b3d3 Issue-ID: OOM-1816 Signed-off-by: Michal Zegan --- ansible/roles/docker/handlers/main.yml | 3 --- 1 file changed, 3 deletions(-) (limited to 'ansible/roles') diff --git a/ansible/roles/docker/handlers/main.yml b/ansible/roles/docker/handlers/main.yml index 9916a81b..de4a52ac 100644 --- a/ansible/roles/docker/handlers/main.yml +++ b/ansible/roles/docker/handlers/main.yml @@ -1,6 +1,3 @@ --- - name: Restart Docker import_tasks: docker_restart.yml - when: - - ansible_env.container is defined - - ansible_env.container != 'docker' -- cgit 1.2.3-korg