[icinga-checkins] icinga.org: icinga2-ansible/master: Added conditional to allow choise of a preferred Web Interface

git at icinga.org git at icinga.org
Mon Jun 9 00:28:07 CEST 2014


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

Author: Valentino Gagliardi <valentino.g at servermanaged.it>
Date:   Mon Jun  9 00:26:17 2014 +0200

Added conditional to allow choise of a preferred Web Interface

---

 .gitignore     |    1 +
 tasks/main.yml |    4 ++++
 2 files changed, 5 insertions(+)

diff --git a/.gitignore b/.gitignore
index 56a56f6..a44b29f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 *.test
 *.list
 *.sh
+group_vars/
diff --git a/tasks/main.yml b/tasks/main.yml
index 35696ec..9316fda 100644
--- a/tasks/main.yml
+++ b/tasks/main.yml
@@ -18,12 +18,16 @@
 
 - include: icinga2_classicui_install_Debian.yml
   when: ansible_os_family == 'Debian' and ansible_distribution == 'Debian' and ansible_distribution_release == 'wheezy'
+        and icinga2_classicui == 'yes'
 
 - include: icinga2_classicui_install_Ubuntu.yml
   when: ansible_os_family == 'Debian' and ansible_distribution == 'Ubuntu' and ansible_distribution_release == 'trusty'
+        and icinga2_classicui == 'yes'
 
 - include: icinga2_classicui_install_RedHat.yml
   when: ansible_os_family == 'RedHat' and ansible_distribution == 'CentOS' and ansible_distribution_major_version == '6'
+        and icinga2_classicui == 'yes'
 
 - include: icinga2_classicui_install_Fedora.yml
   when: ansible_os_family == 'RedHat' and ansible_distribution == 'Fedora'
+        and icinga2_classicui == 'yes'



More information about the icinga-checkins mailing list