[icinga-checkins] icinga.org: icinga2-ansible/master: Ability to leave empty/ undefined icinga2_conf_global and check_commands

git at icinga.org git at icinga.org
Mon Jul 4 10:26:38 CEST 2016


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

Author: Robert Buchholz <rbu at goodpoint.de>
Date:   Sat Apr 30 13:13:07 2016 +0200

Ability to leave empty/undefined icinga2_conf_global and check_commands

---

 icinga2-ansible-no-ui/tasks/icinga2_configure.yml |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/icinga2-ansible-no-ui/tasks/icinga2_configure.yml b/icinga2-ansible-no-ui/tasks/icinga2_configure.yml
index efaec1b..d51b4e0 100644
--- a/icinga2-ansible-no-ui/tasks/icinga2_configure.yml
+++ b/icinga2-ansible-no-ui/tasks/icinga2_configure.yml
@@ -6,6 +6,7 @@
             owner=root
             group=root
             mode=0644
+  when: "{{ icinga2_conf_global | default('') | length}}"
   notify: 
    - restart icinga2
 
@@ -16,5 +17,6 @@
             owner=root
             group=root
             mode=0644
+  when: "{{ check_commands | default('') | length}}"
   notify: 
    - restart icinga2



More information about the icinga-checkins mailing list