Commit graph

13 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 2d16aeb41e evolinux-base: utils.yml can be excluded
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
2022-10-11 13:37:21 +02:00
Jérémy Lecour 28276b5d6f evolinux-base: update-evobackup-canary upstream release 22.06
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
2022-09-12 13:54:57 +02:00
Brice Waegeneire 4d50bab03b base: Extract dump-server-state in task file
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-05 15:57:41 +02:00
Jérémy Lecour 249e53fc21 evolinux-base: add dir-check script 2022-06-01 17:24:55 +02:00
Jérémy Lecour 17a2032a10 evolinux-base: add update-evobackup-canary script
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-01 10:46:13 +02:00
Ludovic Poujol 6ab0cb4fd1 evolinux-base: Fix utils.yml -> Ne pas déplacer inutilement le script qu'on va de toute façon écraser
Some checks reported errors
continuous-integration/drone/push Build was killed
+ Correction du cas d'une machine n'ayant pas le script (fail du mv initial)
2022-03-28 11:56:24 +02:00
Jérémy Lecour 54bf9c1854 evolinux-base: rename backup-server-state to dump-server-state
Some checks reported errors
continuous-integration/drone/push Build was killed
2022-03-27 09:18:15 +02:00
Jérémy Lecour 52fff750df evolinux-base: move "/sbin/deny" install to utils.yml tasks file 2022-01-25 17:44:42 +01:00
Ludovic Poujol 03f846b94b remount before the task 2021-10-22 11:56:43 +02:00
Eric Morino be5bb73675 Include role remount-usr to backup-state-server 2021-10-20 15:57:58 +02:00
Jérémy Lecour 7586881f4d fix module name 2021-10-15 10:54:39 +02:00
Jérémy Lecour bbd16dc5b4 evolinux-base: add script backup-server-state 2021-10-15 10:50:42 +02:00