Release 10.0.0 #100

Manually merged
jlecour merged 321 commits from unstable into stable 2020-05-13 11:25:49 +02:00
2 changed files with 24 additions and 1 deletions
Showing only changes of commit f57af13349 - Show all commits

View file

@ -55,6 +55,7 @@ The **patch** part changes incrementally at each release.
* lxc: rely on lxc_container module instead of command module
* lxc: remove useless loop in apt execution
* lxc: update our default template to be compatible with Debian 10
* minifirewall: better alert5 activation
* minifirewall: no http filtering by default
* nagios-nrpe: update check_redis_instances (same as redis role)
* nagios-nrpe: change default haproxy socket path

View file

@ -1,7 +1,29 @@
---
- name: check if /etc/init.d/alert5 exists
stat:
path: /etc/init.d/alert5
register: initd_alert5
- name: Uncomment minifirewall start line
replace:
dest: /etc/init.d/alert5
regexp: '^#/etc/init.d/minifirewall start'
replace: '/etc/init.d/minifirewall start'
when: minifirewall_autostart
when:
- initd_alert5.stat.exists
- minifirewall_autostart
- name: check if /usr/share/scripts/alert5 exists
stat:
path: /usr/share/scripts/alert5
register: usr_share_scripts_alert5
- name: Uncomment minifirewall start line
replace:
dest: /usr/share/scripts/alert5
regexp: '^#/etc/init.d/minifirewall start'
replace: '/etc/init.d/minifirewall start'
when:
- usr_share_scripts_alert5.stat.exists
- minifirewall_autostart