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
7a0e0d81d6
Proper jinja spacing
gitea/ansible-roles/pipeline/head This commit looks good
2022-12-28 09:03:37 +01:00
Jérémy Lecour
1728eaee68
Revert "Add “when: not ansible_check_mode” to allow more --check"
...
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
gitea/ansible-roles/pipeline/head This commit looks good
2022-12-02 17:40:43 +01:00
Jérémy Lecour
c96f28e47b
evocheck: install script according to Debian version
gitea/ansible-roles/pipeline/head This commit looks good
2022-11-27 22:14:39 +01:00
Jérémy Lecour
0f899dcd09
evocheck: remove failure if deprecated variable is used
gitea/ansible-roles/pipeline/head This commit looks good
continuous-integration/drone/push Build is passing
2022-07-28 13:58:09 +02:00
William Hirigoyen (Evolix)
51aaac0cbc
Fix evocheck_force_install VARIABLE IS NOT DEFINED (validé par jlecour)
2021-10-29 14:54:44 +02:00
Jérémy Lecour
646a7b1813
evocheck: package install is not supported anymore
2021-10-25 10:08:40 +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
eded11f88f
Change "|search" with "is search"
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
47d5146642
evocheck: the crontab is overwritten
2018-08-18 09:59:26 +02:00
Jérémy Lecour
26c46bfb96
evocheck: the crontab is updated by the role
2018-08-18 09:41:59 +02:00
Jérémy Lecour
ec535b036c
apt module: Use "state: present" instead of "state: installed"
...
"state: installed" is deprecated in Ansible 2.5
2018-05-18 09:33:25 +02:00
Jérémy Lecour
1b5cb850fb
evocheck: add tags
2018-01-18 17:05:51 +01:00
Victor LABORIE
1c48df025c
Move /usr rw remount into remount-usr role
2017-11-07 13:34:05 +01:00
Ludovic Poujol
745c45f88d
Fix remount_usr_rw/yml
2017-10-11 17:58:18 +02:00
Jérémy Lecour
6f566533a3
evocheck: don't install by default (but possible)
2017-07-19 14:36:30 +02:00
Jérémy Lecour
360dacf9d8
evocheck: don't fail, just print stdout
2017-07-19 14:17:10 +02:00
Jérémy Lecour
4110d22802
Remove yet some other backups
2017-07-18 19:40:56 +02:00
Jérémy Lecour
65f91f09b0
Disable warnings for mount commands related to /usr read-only
2017-06-12 15:11:40 +02:00
Jérémy Lecour
da3cafca48
evocheck: remount /usr if needed
2017-05-23 15:10:58 +02:00
Jérémy Lecour
96c823840a
evocheck: make sure the script dir is present
2017-05-21 23:32:16 +02:00
Jérémy Lecour
bc97a0b0b8
evocheck: don't force the configuration
2017-05-16 15:38:01 +02:00
Jérémy Lecour
ffcb4f9ffe
Add an evocheck role
2017-04-25 10:10:17 +02:00
Jérémy Lecour
d43ecfc8b0
evocheck is installed with evolinux-base via serveur-base.deb
2016-12-21 18:37:49 +01:00
Jérémy Lecour
e382a15919
evocheck: package install + dependency clarification
2016-12-21 16:12:30 +01:00
Jérémy Lecour
c0ab8f99ce
Squash: conventions, evolinux, etc-git…
2016-12-21 16:12:30 +01:00