aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/docker-service/handlers
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2020-09-01 20:10:10 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2020-09-01 20:10:10 +0200
commit6ad4c172d23b88a0e0bace8488e4f53f6ee4ce6e (patch)
tree3ed44554680e965adf6e6453abac32746600d273 /ansible/roles/docker-service/handlers
parente581bb7e3dd37572b739083133ffaf8d0962cb15 (diff)
downloadinfra-6ad4c172d23b88a0e0bace8488e4f53f6ee4ce6e.tar.gz
infra-6ad4c172d23b88a0e0bace8488e4f53f6ee4ce6e.tar.bz2
infra-6ad4c172d23b88a0e0bace8488e4f53f6ee4ce6e.tar.xz
infra-6ad4c172d23b88a0e0bace8488e4f53f6ee4ce6e.zip
ops
Diffstat (limited to 'ansible/roles/docker-service/handlers')
-rw-r--r--ansible/roles/docker-service/handlers/main.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/ansible/roles/docker-service/handlers/main.yml b/ansible/roles/docker-service/handlers/main.yml
new file mode 100644
index 0000000..475c016
--- /dev/null
+++ b/ansible/roles/docker-service/handlers/main.yml
@@ -0,0 +1,7 @@
+- name: systemctl restart
+ become: yes
+ loop: "{{ docker_service__restart }}"
+ systemd:
+ name: "{{ item }}"
+ state: restarted
+# debug: var=docker_service__restart