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
Jérémy Lecour
554c086b79
redis: variable to disable transparent hugepage (default: do nothing)
gitea/ansible-roles/pipeline/head This commit looks good
2022-10-20 14:38:12 +02:00
Jérémy Lecour
b677defd97
redis: binding is possible on multiple interfaces
2022-06-08 15:36:47 +02:00
Ludovic Poujol
959d6a8579
redis : Activate overcommit sysctl
2022-04-12 11:27:46 +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
099691614e
redis: set_facts separately to reuse them
continuous-integration/drone/push Build is passing
2020-03-02 21:36:41 +01:00
Jérémy Lecour
bc1a6f347a
redis: add log2mail configuration for Redis if installed
continuous-integration/drone/push Build is passing
2020-03-02 21:19:50 +01:00
Jérémy Lecour
adc1aad883
redis: data directory is configurable
continuous-integration/drone/push Build is passing
2020-01-17 14:54:05 +01:00
Jérémy Lecour
e04d881988
replace "with_items" in apt modules
2019-12-31 16:18:56 +01:00
Jérémy Lecour
3768f6553a
Rewrite NRPE checks
2019-09-06 13:55:12 +02:00
Jérémy Lecour
d972c6c794
rewrite systemd unit, separate configuration files
2019-09-05 09:41:58 +02:00
Jérémy Lecour
d0111f9a4f
WIP: separate Redis instances from default server
2019-09-05 06:50:07 +02:00
Jérémy Lecour
415aedb78a
Install Sentinel if needed
2019-09-05 05:58:59 +02:00
Jérémy Lecour
02723ba0f3
redis: set variables on nclusion, not with set_facts
2019-03-08 13:44:12 +01:00
Jérémy Lecour
42d1cb7906
redis: indentation typo
2018-12-21 11:13:40 +01:00
Jérémy Lecour
92a25a9502
redis: add variables to prevent or force restart
2018-12-21 11:11:15 +01:00
Ludovic Poujol
effdb4c7eb
redis: Configure munin when working in instance mode
2018-12-17 14:47:07 +01:00
Victor LABORIE
8546f0f34f
redis: add support for multi instances
2018-09-19 17:24:26 +02:00
Victor LABORIE
09e48516c6
redis: add missing tags
2018-09-19 16:25:47 +02:00
Jérémy Lecour
d8e88b1958
Redis: fix typo in shell command
2017-12-29 11:18:27 +01:00
Jérémy Lecour
298f3ddcf0
Redis: proetcted-mode is supported in Redis 3.2+
2017-12-28 17:28:31 +01:00
Jérémy Lecour
55d31f7288
Redis: configuration for "protected-mode" + tags
2017-12-27 15:10:59 +01:00
Ludovic Poujol
43d2de5da7
Redis: Fix error in the conditional inclusion of nrpe_stretch.yml
2017-09-28 18:03:26 +02:00
Ludovic Poujol
eab2c3946a
Redis: On stretch, make sure nrpe will use check_redis instead of check_tcp
...
check_redis was added in nagios-plugins-contrib in strech.
2017-09-27 18:41:21 +02:00
Ludovic Poujol
7fa2dcbb28
Redis: Also install redis-tools
2017-09-27 17:57:02 +02:00
Jérémy Lecour
b2ce195474
redis: && → and
2017-06-12 16:37:56 +02:00
Jérémy Lecour
5c7ec65831
redis: works with munin installed or not
2017-06-12 15:28:23 +02:00
Victor LABORIE
9885c351e5
redis: add munin config
2017-06-02 14:28:29 +02:00
Jérémy Lecour
294cea44e8
Change mode with leading 0, but still as String
2017-03-23 16:59:43 +01:00
Jérémy Lecour
478e9a8272
replace "state: installed" with "state: present"
2017-01-12 17:37:48 +01:00
Jérémy Lecour
61f5219f48
Improve documentation
...
Each role has a README and a meta/main.yml file
2017-01-05 18:22:06 +01:00
Jérémy Lecour
5a4f838375
Unix mode MUST be a quoted string when using octal notation
2017-01-05 12:03:54 +01:00
Jérémy Lecour
953c27a866
Switch to English for documentation and comments
2016-12-21 16:12:12 +01:00
Jérémy Lecour
94915cda7d
ajoute un tag "packages" aux taches d'install
2016-12-21 16:11:46 +01:00
Jérémy Lecour
fcbc9b67fc
ajoute un rôle "redis"
2016-12-21 16:11:45 +01:00