Commit graph

34 commits

Author SHA1 Message Date
Jérémy Lecour 1728eaee68 Revert "Add “when: not ansible_check_mode” to allow more --check"
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
This reverts commit fafff25c20.
This reverts commit e64471c5a8084f95a8e6f955d3fa918c55b8e846.
2022-12-14 07:41:18 +01:00
David Prevot fafff25c20 Add “when: not ansible_check_mode” to allow more --check
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
2022-12-02 17:40:43 +01:00
Jérémy Lecour 3c1ec588fd minifirewall: use handlers to restart minifirewall
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
2022-09-09 16:09:48 +02:00
Jérémy Lecour 205e699355 minifirewall: docker mode is configurable
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-22 17:20:15 +02:00
Jérémy Lecour dd2072b86b minifirewall: fix failed_when conditions on restart
All checks were successful
continuous-integration/drone/push Build is passing
2022-05-10 16:40:45 +02:00
Jérémy Lecour 31c2629d31 minifirewall: configure proxy/backup/sysctl values
Some checks reported errors
continuous-integration/drone/push Build was killed
2022-03-30 09:42:56 +02:00
Jérémy Lecour 1ae978c74a minifirewall: restore "force-restart" and fix "restart-if-needed"
Some checks reported errors
continuous-integration/drone/push Build was killed
2022-03-28 13:27:22 +02:00
Jérémy Lecour ba90203f21 minifirewall: upstream release 22.03.1 and use includes directory
Some checks reported errors
continuous-integration/drone/push Build was killed
2022-03-15 23:07:33 +01:00
Jérémy Lecour 2ed77c60f0 Improve Ansible syntax
replace « x | changed » by « x is changed »
add explicit « bool » filter
use « length » filter instead of string comparison
2021-05-09 23:06:42 +02:00
Jérémy Lecour 5138065059 Use 'loop' syntax instead of 'with_items' 2021-05-04 14:19:18 +02:00
Jérémy Lecour 84bd3372d5 blockinfile: change from "content" to "block"
All checks were successful
continuous-integration/drone/push Build is passing
It solves the diff bug :
https://github.com/ansible/ansible/issues/62315
2020-12-02 15:22:35 +01:00
Jérémy Lecour 9aa24f4cde minifirewall: Docker support
All checks were successful
continuous-integration/drone/push Build is passing
2020-12-01 22:47:38 +01:00
Jérémy Lecour bf7de332ea minifirewall: fix warnings ansible-lint 2020-01-08 17:19:13 +01:00
Jérémy Lecour a94c94018c normalize some arguments positions 2019-01-01 20:02:50 +01:00
Jérémy Lecour 2bcc1133c0 minifirewall: all variables are configurable
By default, a Null value keeps the variable current value as-is.
Set an Array (can be empty) to replace the value.
2018-12-04 14:49:50 +01:00
Jérémy Lecour 50e16e0dee minifirewall: compare config before/after (for restart condition) 2018-12-04 14:46:32 +01:00
Jérémy Lecour c3e4a78442 minifirewall: main file is configurable 2018-12-04 14:45:48 +01:00
Jérémy Lecour 96cd04ae40 minifirewall: add a variable to disable the restart handler 2018-08-30 17:04:14 +02:00
Jérémy Lecour bcd3553cbb minifirewall: add debug for variables 2017-11-26 12:32:33 +01:00
Jérémy Lecour 97b0225232 Minifirewall can deal with evomaintenance
Each role has to know how to deal with the other.
Otherwise, depending on order of execution, the firewall might not
allow connections for evomaintenance
2017-10-08 00:00:24 +02:00
Jérémy Lecour 685282bf93 minifirewall: fallback when no trusted ip is provided 2017-09-14 14:26:44 +02:00
Jérémy Lecour 86372199ec minifirewall: simplify debug 2017-04-11 16:13:53 +02:00
Jérémy Lecour cda0932aad whitespaces 2017-03-30 16:05:46 +02:00
Jérémy Lecour 5b2ab0d8d3 Ansible >= 2.2 supported 2017-03-24 14:15:09 +01:00
Jérémy Lecour 5efb9b04e1 Minifirewall: ensure that at least 1 trusted IP is provided 2017-03-22 18:12:30 +01:00
Jérémy Lecour 1f653b1fdc minifirewall: the return of the comments 2017-01-31 17:44:31 +01:00
Jérémy Lecour dd432a9c11 minifirewall: restart manually (systemd unit is not working) 2017-01-31 17:43:10 +01:00
Jérémy Lecour 0273f2ad56 minifirewall: debug for current status 2017-01-31 17:42:32 +01:00
Jérémy Lecour 277de88d44 minifirewall: command → shell 2017-01-31 17:41:33 +01:00
Jérémy Lecour 8920ff1ee4 Add "always_run: yes" where it's pertinent
There is also the "check_mode: no", but commented,
for when we switch to Ansible 2.2
2017-01-31 11:45:35 +01:00
Jérémy Lecour 82a4faa578 Minifirewall: disable check_mode for status check 2017-01-10 14:35:26 +01:00
Jérémy Lecour caf929b45b minifirewall: forgot a double quote 2017-01-09 16:47:07 +01:00
Jérémy Lecour 8cc7a032c2 minifirewall: restart if needed 2017-01-09 16:38:59 +01:00
Jérémy Lecour 9570efcaed Minifirewall: extend configuration abilities with blocks 2017-01-06 15:50:48 +01:00