...
 
Commits (3)
......@@ -62,6 +62,7 @@ grp.host(0, "syslog.bremen.freifunk.net")
grp.host(0, "jenkins.bremen.freifunk.net")
grp.host(0, "code.bremen.freifunk.net")
grp.host(0, "vpn04.bremen.freifunk.net")
grp.host(0, "babel-gw-lwlcom.bremen.freifunk.net")
grp.child("vmhosts")
grp.child("backbone")
grp.child("webserver")
......
......@@ -29,13 +29,13 @@
- libyaml-syck-perl
- lsb-release
- nagios-plugins-contrib
- needrestart
- name: Install Nagios checks
apt:
name:
- nagios-plugins-basic
- nagios-plugins-standard
- needrestart
when: (ansible_distribution == 'Debian' and ansible_distribution_major_version is version_compare("8", "<")) or
(ansible_distribution == 'Ubuntu' and ansible_distribution_major_version is version_compare("16", "<"))
......@@ -44,7 +44,6 @@
name:
- monitoring-plugins-basic
- monitoring-plugins-standard
- needrestart
when: (ansible_distribution == 'Debian' and ansible_distribution_major_version is version_compare("8", ">=")) or
(ansible_distribution == 'Ubuntu' and ansible_distribution_major_version is version_compare("16", ">="))
......
......@@ -4,4 +4,4 @@
dest: /etc/default/tmpfs
regexp: '(\#\s*)?RAMTMP\s*=\s*(.*)'
replace: 'RAMTMP=yes'
when: "ansible_distribution_major_version|int < 9"
when: ansible_distribution == 'Debian' and ansible_distribution_version is version_compare("9", "<")