Commit graph

29 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 0ec14fa2eb memcached: multi instance check requires bash instead of sh
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
2022-09-01 15:48:15 +02: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 0fe0244116 Update Galaxy metadata (company, platforms and galaxy_tags) 2021-06-28 15:26:28 +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
Eric Morino 12cdf35126 Add multi: "" patch 2020-01-09 15:40:46 +01: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 aa28e9c1b8 change repositories URL 2019-03-21 15:31:58 +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 c1a14871d7 Add documentation 2018-06-14 17:27:41 +02:00
Tristan PILAT 001c8581c4 Add systemd template 2018-06-14 17:27:41 +02:00
Tristan PILAT 879b67d32e Add memcached_instance_name default variable 2018-06-14 17:27:41 +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
Gregory Colpart 46c1cbd1a4 update title 2017-10-03 23:45:17 +02:00
Gabriel Periard-Tremblay 87ebadcadd Kitchen: Change base image to evolix/ansible 2017-06-02 08:38:08 -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
Jérémy Lecour 033ebaa593 Add tests for many roles 2017-05-18 15:44:21 +02:00
Jérémy Lecour e2847626e4 memcached: better default configuration 2017-04-10 18:15:35 +02:00
Tristan PILAT 7b9292c247 Add configuration part 2017-04-05 10:29:23 +02:00
Jérémy Lecour 5b2ab0d8d3 Ansible >= 2.2 supported 2017-03-24 14:15:09 +01:00
Tristan PILAT c25d96841c Add initial memcached role 2017-03-08 16:26:36 +01:00