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
74ab96d67f
loop syntax and whitespaces
2021-08-27 11:01:28 +02:00
Jérémy Lecour
b8c5ac3097
remove whitespace for stream redirection
2021-06-28 15:56:19 +02:00
Jérémy Lecour
4d83f25ae6
fix pipefail option for shell invocations
continuous-integration/drone/push Build is passing
2021-05-18 14:04:54 +02:00
Jérémy Lecour
e65340cb56
Add pipefail option to shell invocations
continuous-integration/drone/push Build is passing
2021-05-13 15:34:27 +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
e04d881988
replace "with_items" in apt modules
2019-12-31 16:18:56 +01:00
Victor LABORIE
6f5e13f8b8
Add evolix prefix to include_role
2019-11-29 14:00:25 +01:00
Jérémy Lecour
24edbd680a
Add crontabs only when cron package is installed (many roles)
continuous-integration/drone/push Build is passing
2019-10-21 15:26:03 +02:00
Jérémy Lecour
8a498bb3a3
postfix: add lines in /etc/.gitignore
2018-02-04 11:49:14 +01:00
Victor LABORIE
1c4aa08421
packmail (postfix + spamassassin): fix cron.d spam and sa-update
2017-12-01 12:07:55 +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
1c48df025c
Move /usr rw remount into remount-usr role
2017-11-07 13:34:05 +01:00
Victor LABORIE
bee42c57d2
postfix: mount usr in rw before copy spam.sh
2017-10-31 15:17:27 +01:00
Victor LABORIE
7413ebdd2b
postfix: add spf verification to packmail config
2017-10-27 12:02:27 +02: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