Commit graph

21 commits

Author SHA1 Message Date
Mathieu Trossevin 7c632352a0
Replace the include module with include_tasks or import_tasks
The behaviour of the `include` module is badly defined (it try to choose
between statically importing the tasks and dynamically including them)
and can cause problems depending on any number of constraints (mostly if
it choose the wrong behaviour).

Replace it with the `import_tasks` (always statically import tasks) unless
the `include` is in a loop in which case we replace it with
`include_tasks` (always dynamically include tasks).
2023-01-03 14:43:42 +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 8a498bb3a3 postfix: add lines in /etc/.gitignore 2018-02-04 11:49:14 +01:00
Jérémy Lecour d355532a24 Postfix: extract main.cf md5sum into variables 2017-11-15 12:13:50 +01:00
Jérémy Lecour 8a479eee3f postfix: quote shell command 2017-11-15 12:00:25 +01:00
Victor LABORIE 0cdae8b246 postfix: split main task into minimal and packmail 2017-10-27 11:52:03 +02:00
Victor LABORIE 82cf150c05 postfix: move spam.sh script from amavis role 2017-10-25 11:55:34 +02:00
Victor LABORIE 10ff2747e2 Add amavis, clamav and spamassasin roles 2017-10-25 11:55:34 +02:00
Victor LABORIE dee2e2296c postfix: deploy packmail master.cf and filter files 2017-10-25 11:55:34 +02:00
Victor LABORIE e0c9de352b postfix: add config for packmail 2017-10-25 11:55:33 +02:00
Jérémy Lecour 13e1c0486b "egrep" is deprecated, use "grep -E" 2017-10-08 22:47:03 +02:00
Gregory Colpart f480ae461c add main.cf hash for stretch 2017-08-23 03:13:04 +02:00
Jérémy Lecour 99f1890f9a whitespaces 2017-05-02 13:53:07 +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 49f5f6f08a postfix: conditional include for slow_transport 2017-01-12 17:22:16 +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
Gregory Colpart 6c5e880938 add slow_transport configuration for Postfix role
and disable Postfix customization in evolinux-base role
2017-01-02 01:14:18 +01:00
Gregory Colpart 786f48e7f3 init Postfix roles 2017-01-02 00:37:20 +01:00
Jérémy Lecour 79792ec0ed Postfix is back into evolinux-base 2016-12-21 16:12:31 +01:00
Jérémy Lecour c0ab8f99ce Squash: conventions, evolinux, etc-git… 2016-12-21 16:12:30 +01:00