diff options
author | Michal Zegan <m.zegan@samsung.com> | 2019-05-27 13:49:29 +0200 |
---|---|---|
committer | Michal Ptacek <m.ptacek@partner.samsung.com> | 2019-05-29 10:42:45 +0000 |
commit | 63257979874f88942fd1a4cb215b57991e23a0d4 (patch) | |
tree | 285639aa5ee059712b01b14c0253dba3d5c813d5 /ansible | |
parent | d93b67d0dc46c9c7a43807de5ca4106d7e3e32dc (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')
-rw-r--r-- | ansible/roles/docker/handlers/main.yml | 3 |
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' |