David Prevot
61f2096fad
Allow more --check runs
...
Use “when: not ansible_check_mode” or “when <file>.stat.exists or not
ansible_check_mode” in order to provide a meaningful diff if possible.
This is an improvement from the previously reverted commit
1728eaee68
.
2022-12-23 16:20:06 +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
d4f58b9395
Drop duplicate when keys introduced in fafff25c20
gitea/ansible-roles/pipeline/head This commit looks good
2022-12-12 14:29:07 +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
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
968973d1f4
whitespaces and syntax
2020-04-17 15:56:54 +02:00
Ludovic Poujol
93c043c8e0
(fix) lxc: Fix container existance check to be able to run in check_mode
2020-04-08 17:57:46 +02:00
Ludovic Poujol
9b80db3772
lxc: Don't stop the container if it already exists
2020-04-01 17:17:00 +02:00
Jérémy Lecour
16c44ab867
lxc : add name of container in task names
2019-10-21 15:26:03 +02:00
Ludovic Poujol
4aaeb4590b
lxc: rely on lxc_container module instead of command module
2019-10-02 16:32:20 +02:00
Tristan PILAT
b6e6839419
Update lxc-create command in create-container.yml
2019-06-17 12:17:46 +02:00
Romain Dessort
8ed1aaf160
Fix multiple bugs in lxc role after testing
2017-08-24 12:09:41 -04:00
Romain Dessort
39bc3d27fb
Add role for LXC
2017-08-22 11:32:32 -04:00