[icinga-checkins] icinga.org: icinga2-ansible/master: Added restart mysql_server handler ( needed to restart Mysql after timezone configuration)

git at icinga.org git at icinga.org
Thu Jun 12 14:39:30 CEST 2014


Module: icinga2-ansible
Branch: master
Commit: 248fa39fa0ca1a1fea8446918a393732adf0368f
URL:    https://git.icinga.org/?p=icinga2-ansible.git;a=commit;h=248fa39fa0ca1a1fea8446918a393732adf0368f

Author: Valentino Gagliardi <valentino.g at servermanaged.it>
Date:   Thu Jun 12 14:32:45 2014 +0200

Added restart mysql_server handler (needed to restart Mysql after timezone configuration)

---

 handlers/main.yml |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/handlers/main.yml b/handlers/main.yml
index 3f7f6a5..44517ec 100644
--- a/handlers/main.yml
+++ b/handlers/main.yml
@@ -16,6 +16,11 @@
            state=restarted
            enabled=yes
 
+- name: restart mysql_server
+  service: name={{ mysql_server }}
+           state=restarted
+           enabled=yes
+
 - include: firewalld.yml
   when: ansible_os_family == 'RedHat' and ansible_distribution == 'Fedora'
 



More information about the icinga-checkins mailing list