Commit graph

17 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 5138065059 Use 'loop' syntax instead of 'with_items' 2021-05-04 14:19:18 +02:00
Eric Morino 9e0388c865 Fix task when memcached_instance_name
All checks were successful
continuous-integration/drone/push Build is passing
2020-04-23 12:01:01 +02:00
Jérémy Lecour e04d881988 replace "with_items" in apt modules 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 f2bd125cfc memcached: improve systemd units management 2018-08-09 17:46:31 +02:00
Jérémy Lecour adb0033722 memcached: add a TODO comment for multi-instances NRPE checks 2018-08-09 17:25:50 +02:00
Tristan PILAT a465744013 set port number by default to allow multiple checks 2018-06-14 17:27:41 +02:00
Tristan PILAT aace200270 Use multi memcached script when needed 2018-06-14 17:27:41 +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 5d7a38e959 memcached: add tasks for phpmemcachedadmin 2017-06-02 13:47:48 +02: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