Browse Source

minifirewall: add variables to force upgrade the script and the config (default: False)

pull/119/head
Jérémy Lecour 1 month ago
committed by Jérémy Lecour
parent
commit
4d6f88f0f4
3 changed files with 6 additions and 2 deletions
  1. +1
    -0
      CHANGELOG.md
  2. +3
    -0
      minifirewall/defaults/main.yml
  3. +2
    -2
      minifirewall/tasks/install.yml

+ 1
- 0
CHANGELOG.md View File

@ -16,6 +16,7 @@ The **patch** part changes incrementally at each release.
* evoacme: variable to disable Debian version check (default: False)
* kvm-host: Add drbd role dependency (toggleable with kvm_install_drbd)
* minifirewall: upstream release 20.12
* minifirewall: add variables to force upgrade the script and the config (default: False)
* mysql: install save_mysql_processlist script
* nextcloud: New role to setup a nextcloud instance
* redis: variable to force use of port 6379 in instances mode


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

@ -5,6 +5,9 @@ minifirewall_tail_file: /etc/default/minifirewall.tail
minifirewall_tail_included: False
minifirewall_tail_force: True
minifirewall_force_upgrade_script: False
minifirewall_force_upgrade_config: False
minifirewall_git_url: "https://forge.evolix.org/minifirewall.git"
minifirewall_checkout_path: "/tmp/minifirewall"
minifirewall_int: "{{ ansible_default_ipv4.interface }}"


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

@ -9,7 +9,7 @@
template:
src: minifirewall.j2
dest: /etc/init.d/minifirewall
force: no
force: "{{ minifirewall_force_upgrade_script | default('no') }}"
mode: "0700"
owner: root
group: root
@ -18,7 +18,7 @@
copy:
src: minifirewall.conf
dest: "{{ minifirewall_main_file }}"
force: no
force: "{{ minifirewall_force_upgrade_config | default('no') }}"
mode: "0600"
owner: root
group: root

Loading…
Cancel
Save