aboutsummaryrefslogtreecommitdiffstats
path: root/supporting/servers/roles/elk/handlers/main.yml
diff options
context:
space:
mode:
authorlinux_geek <taseer94@gmail.com>2016-10-14 07:54:45 +0500
committerTaseer Ahmed <taseer94@gmail.com>2016-10-14 15:58:39 +0000
commit5f81947827003e5541083ecc6f95b8ca6f0dce93 (patch)
tree65645340bf4af7ca5d32f31e0d0ced18fa0186f5 /supporting/servers/roles/elk/handlers/main.yml
parent975e241de4d4bf3839c788ad743d0cc077e23bd4 (diff)
Playbook for setting up ELK.
Change-Id: Iccd8531a7c292796b76f2ab23bc8a2ca5d2d99ed Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
Diffstat (limited to 'supporting/servers/roles/elk/handlers/main.yml')
-rw-r--r--supporting/servers/roles/elk/handlers/main.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/supporting/servers/roles/elk/handlers/main.yml b/supporting/servers/roles/elk/handlers/main.yml
index 35585363..46bd76c7 100644
--- a/supporting/servers/roles/elk/handlers/main.yml
+++ b/supporting/servers/roles/elk/handlers/main.yml
@@ -1,4 +1,8 @@
---
+- name: starting docker service
+ become: true
+ service: name=docker state=started
+
- name: restart nginx
become: true
service: name=nginx state=restarted