aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/testbed-setup/ansible/roles/docker
diff options
context:
space:
mode:
authorpmikus <pmikus@cisco.com>2020-05-13 11:46:46 +0000
committerPeter Mikus <pmikus@cisco.com>2020-05-14 11:56:35 +0000
commitf9f7672ff42274dd05320c153cd8efc7a9986e7e (patch)
treef507e07953d26e64b5b56418fa3f08cb3ee78196 /resources/tools/testbed-setup/ansible/roles/docker
parentf80a0bee8634eeb638a4a4f99f733c5144de6632 (diff)
Ansible: Small maintenance
Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: I542401d77a777dfc2d930de626e19c1d8083941c
Diffstat (limited to 'resources/tools/testbed-setup/ansible/roles/docker')
-rw-r--r--resources/tools/testbed-setup/ansible/roles/docker/tasks/main.yaml11
1 files changed, 3 insertions, 8 deletions
diff --git a/resources/tools/testbed-setup/ansible/roles/docker/tasks/main.yaml b/resources/tools/testbed-setup/ansible/roles/docker/tasks/main.yaml
index 368ddf5d1a..1f7fdf6692 100644
--- a/resources/tools/testbed-setup/ansible/roles/docker/tasks/main.yaml
+++ b/resources/tools/testbed-setup/ansible/roles/docker/tasks/main.yaml
@@ -18,6 +18,8 @@
owner: 'root'
group: 'root'
mode: '0644'
+ notify:
+ - 'Restart Docker'
when: >
proxy_env is defined and
proxy_env.http_proxy is defined
@@ -30,18 +32,11 @@
owner: 'root'
group: 'root'
mode: '0644'
- when: >
- proxy_env is defined and
- proxy_env.https_proxy is defined
- tags: install-docker
-
-- name: Docker - Reload systemd daemon and restart service
- command: 'systemctl daemon-reload'
notify:
- 'Restart Docker'
when: >
proxy_env is defined and
- proxy_env.http_proxy is defined
+ proxy_env.https_proxy is defined
tags: install-docker
- name: Docker - Set specific users to docker group