Commit graph

8 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
Victor LABORIE c3db08e6db Split tomcat-instance in tomcat + tomcat-instance 2017-07-03 17:37:06 +02:00
Victor LABORIE 483d3a8a9e tomcat-instance: bootstrap instance are idempotent 2017-03-02 17:22:33 +01:00
Jérémy Lecour 9ba7c66f5f a bit of syntax 2017-01-31 11:47:29 +01:00
Jérémy Lecour 8920ff1ee4 Add "always_run: yes" where it's pertinent
There is also the "check_mode: no", but commented,
for when we switch to Ansible 2.2
2017-01-31 11:45:35 +01:00
Jérémy Lecour 6b8a51a18e tomcat-instances: variables are mandatory 2017-01-13 09:50:01 +01:00
Victor LABORIE 52b643a1a1 tomcat-instance: deploy nagios check 2017-01-04 16:04:15 +01:00
Victor LABORIE 04ccca18f2 init tomcat-instance role 2017-01-03 12:41:22 +01:00