summaryrefslogtreecommitdiffstats
path: root/ansible/roles
diff options
context:
space:
mode:
authorMichal Zegan <m.zegan@samsung.com>2019-05-27 13:49:29 +0200
committerMichal Ptacek <m.ptacek@partner.samsung.com>2019-05-29 10:42:45 +0000
commit63257979874f88942fd1a4cb215b57991e23a0d4 (patch)
tree285639aa5ee059712b01b14c0253dba3d5c813d5 /ansible/roles
parentd93b67d0dc46c9c7a43807de5ca4106d7e3e32dc (diff)
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 <m.zegan@samsung.com>
Diffstat (limited to 'ansible/roles')
-rw-r--r--ansible/roles/docker/handlers/main.yml3
1 files changed, 0 insertions, 3 deletions
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'