Commit graph

54 commits

Author SHA1 Message Date
Jérémy Lecour fb7218972f
squid: config directory seems to have changed from /etc/squid3 to /etc/squid in Debian 8 2023-12-11 15:10:06 +01:00
Jérémy Lecour 00fe225a3c
force: [yes,no] → force [true,false]
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend |:-:|:-:|:-:|:-:|:-: |2615|7|2608|177|:+1: Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/278//ansiblelint">Evolix » ansible-roles » unstable #278</a>
gitea/ansible-roles/pipeline/head This commit looks good
2023-06-28 13:25:30 +02:00
Jérémy Lecour ee21973371 Use FQCN
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend |:-:|:-:|:-:|:-:|:-: |2777|524|2253|2462|:+1: Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/223//ansiblelint">Evolix » ansible-roles » unstable #223</a>
gitea/ansible-roles/pipeline/head This commit looks good
Fully Qualified Collection Name
2023-03-20 23:33:19 +01:00
David Prevot dbef71d791 Drop trailing whitespaces
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
2023-01-06 09:54:51 +01:00
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 a53159c93b minifirewall: compatibility with "legacy" version of minifirewall
All checks were successful
continuous-integration/drone/push Build is passing
2022-04-28 12:40:02 +02:00
Jérémy Lecour 0cbdda840d Explicit permissions for systemd overrides
Some checks reported errors
continuous-integration/drone/push Build was killed
2022-02-03 14:18:20 +01:00
Jérémy Lecour 5905751a82 squid: must be started in foreground mode for systemd 2021-07-02 23:45:42 +02:00
Jérémy Lecour c5ab0c0ff9 squid: remove obsolete variable on Squid 4 2021-07-02 21:13:05 +02:00
Jérémy Lecour 7dc6f0b849 remove trailing whitespaces 2021-05-13 15:23:39 +02: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 7283e34077 Replace version_compare() with version() 2020-02-25 10:45:35 +01:00
Jérémy Lecour e04d881988 replace "with_items" in apt modules 2019-12-31 16:18:56 +01:00
Jérémy Lecour 79bb6103b8 Change "|version_compare" with "is version_compare" 2019-12-31 10:18:19 +01:00
Jérémy Lecour 1c0e3af490 squid: add "checkmode: no" on a read-only task 2019-11-05 10:51:09 +01:00
Jérémy Lecour 27adad616f squid: compatibility wit Debian 10
All checks were successful
continuous-integration/drone/push Build is passing
2019-10-24 16:23:48 +02:00
Jérémy Lecour 9ea567ee2d squid: install systemd unit and restart only if needed 2019-09-23 21:58:08 +02:00
Jérémy Lecour 2d249f1815 squid: split systemd tasks into own file 2019-09-22 22:18:09 +02:00
Benoît S. 4e02e8ee94 squid: typo for copy task 2019-07-04 17:16:34 +02:00
Benoît S. bb288ca991 squid: Custom systemd unit file for Debian >=10
Some checks reported errors
continuous-integration/drone/pr Build encountered an error
continuous-integration/drone/push Build is passing
Fixes #63
2019-07-03 10:07:00 +02:00
Benoît S. 771c75c1de all-roles: Dot not use ansible_lsb as it is deprecated
Some checks reported errors
continuous-integration/drone/push Build encountered an error
continuous-integration/drone/pr Build is passing
We move from `ansible_lsb.codename` to `ansible_distribution_release`.
2019-07-03 09:41:35 +02:00
Jérémy Lecour bee57a0b3c change distribution release codename
Some checks reported errors
continuous-integration/drone/push Build encountered an error
continuous-integration/drone/pr Build is failing
Ansible 2.2 is too old to know about buster.
Let's use LSB for that.
2019-06-18 17:35:28 +02:00
Jérémy Lecour 59dd03c91e squid: better replacement in minifirewall config 2018-12-04 14:46:32 +01:00
Jérémy Lecour c96e8130ff squid: minifirewall main file is configurable 2018-12-04 14:45:48 +01:00
Jérémy Lecour 673d5a68c5 squid: change a task name 2018-08-24 18:11:19 +02:00
Jérémy Lecour a59b0d8914 squid: fix template path 2017-12-29 15:14:24 +01:00
Jérémy Lecour c1169f86f1 Squid: replace logrotate file if default 2017-12-28 11:16:06 +01:00
Jérémy Lecour 248f550a7f Squid: restart minifirewall if needed 2017-09-20 10:30:24 +02:00
Gregory Colpart 3882a366e4 Revert "squid: consistent version switch" because we use == jessie everywhere
This reverts commit c44896d433.
2017-09-14 19:13:59 +02:00
Jérémy Lecour 82fda57cdb squid: don't overwrite whitelist for Debian 8 2017-09-14 09:29:52 +02:00
Jérémy Lecour b4cf781dd1 squid: append whitelist for Debian 8 too 2017-09-14 09:29:52 +02:00
Jérémy Lecour c44896d433 squid: consistent version switch 2017-09-14 09:29:51 +02:00
Jérémy Lecour ca2048f9e3 squid: fix variable name 2017-09-14 09:29:51 +02:00
Gregory Colpart 207a2f6011 Improve distribution verification 2017-08-23 01:49:27 +02:00
Gregory Colpart 32bcec3cc8 review squid role whith https://wiki.evolix.org/HowtoSquid 2017-08-23 01:17:45 +02:00
Jérémy Lecour 0c2170cf5c Remove some backups, again 2017-07-18 19:38:03 +02:00
Jérémy Lecour 6bada3aa70 squid: just reload when possible 2017-07-03 17:37:11 +02:00
Jérémy Lecour 1b24815491 whitespaces 2017-05-21 19:32:25 +02:00
Jérémy Lecour cac6b2780d squid: reload handler must be precise 2017-04-05 11:24:48 +02:00
Jérémy Lecour 04314d719c squid: add whitelist entries 2017-04-04 11:52:08 +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 294cea44e8 Change mode with leading 0, but still as String 2017-03-23 16:59:43 +01:00
Jérémy Lecour 9dca0f98bf Squid: deal with Jessie and Stretch 2017-03-14 18:11:49 +01:00
Jérémy Lecour f0063bc84a No name for a block 2017-02-09 17:44:35 +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 63c7123985 squid: don't fail when minifirewall is absent 2017-01-13 09:05:32 +01:00
Jérémy Lecour 5a4f838375 Unix mode MUST be a quoted string when using octal notation 2017-01-05 12:03:54 +01:00