Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ansible/ansible-examples.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lamp_simple/roles/db/handlers/main.yml')
-rw-r--r--lamp_simple/roles/db/handlers/main.yml8
1 files changed, 6 insertions, 2 deletions
diff --git a/lamp_simple/roles/db/handlers/main.yml b/lamp_simple/roles/db/handlers/main.yml
index fffc0d5..43e3c9a 100644
--- a/lamp_simple/roles/db/handlers/main.yml
+++ b/lamp_simple/roles/db/handlers/main.yml
@@ -2,7 +2,11 @@
# Handler to handle DB tier notifications
- name: restart mysql
- service: name=mysqld state=restarted
+ service:
+ name: mysqld
+ state: restarted
- name: restart iptables
- service: name=iptables state=restarted
+ service:
+ name: iptables
+ state: restarted