Commit graph

9 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
Ludovic Poujol 1f52700b47 memcached: NRPE check for multi-instance setup
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
Also some cleanup & split of tasks between single and multi instance

Note: Munin part seems still broken at the time
2022-09-01 15:33:00 +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 f2bd125cfc memcached: improve systemd units management 2018-08-09 17:46:31 +02:00
Tristan PILAT ba4db7acf8 Let's handle multi memcached instances 2018-06-14 17:27:41 +02:00
Romain Dessort 521b196ba3 memcached: add Nagios check for memcached (evoqa #3498) 2018-03-22 15:15:24 -04:00
Victor LABORIE 3721f83819 memcached: add munin config 2017-06-02 10:45:09 +02:00
Tristan PILAT 7b9292c247 Add configuration part 2017-04-05 10:29:23 +02:00
Tristan PILAT c25d96841c Add initial memcached role 2017-03-08 16:26:36 +01:00