Browse Source

minifirewall: add a variable to force the check scripts update

lpoujol/fpm-php
Jérémy Lecour 1 year ago
committed by Jérémy Lecour
parent
commit
7e50a460a8
3 changed files with 6 additions and 3 deletions
  1. +2
    -1
      CHANGELOG.md
  2. +2
    -0
      minifirewall/defaults/main.yml
  3. +2
    -2
      minifirewall/tasks/nrpe.yml

+ 2
- 1
CHANGELOG.md View File

@ -18,10 +18,11 @@ The **patch** part changes incrementally at each release.
* evolinux-base: default value for "evolinux_ssh_group"
* evolinux-base: install /sbin/deny
* evolinux-base: on debian 10 and later, add noexec on /dev/shm
evolinux-base: on debian 10 and later, add /usr/share/scripts in root's PATH
* evolinux-base: on debian 10 and later, add /usr/share/scripts in root's PATH
* generate-ldif: support MariaDB 10.3
* haproxy: add a variable to keep the existing configuration
* listupgrade: install old-kernel-autoremoval script
* minifirewall: add a variable to force the check scripts update
* mongodb: mongodb: compatibility with Debian 10
* mysql-oracle: backport tasks from mysql role
* mysql: activate binary logs by specifying log_bin path


+ 2
- 0
minifirewall/defaults/main.yml View File

@ -41,6 +41,8 @@ minifirewall_autostart: False
minifirewall_restart_if_needed: True
minifirewall_restart_force: False
minifirewall_force_update_nrpe_scripts: False
evomaintenance_hosts: []
nagios_plugins_directory: "/usr/local/lib/nagios/plugins"

+ 2
- 2
minifirewall/tasks/nrpe.yml View File

@ -15,7 +15,7 @@
copy:
src: minifirewall_status
dest: /usr/share/scripts/minifirewall_status
force: no
force: "{{ minifirewall_force_update_nrpe_scripts | bool }}"
mode: "0700"
owner: root
group: root
@ -32,7 +32,7 @@
copy:
src: check_minifirewall
dest: "{{ nagios_plugins_directory }}/check_minifirewall"
force: no
force: "{{ minifirewall_force_update_nrpe_scripts | bool }}"
mode: "0755"
owner: root
group: staff


Loading…
Cancel
Save