Commit graph

61 commits

Author SHA1 Message Date
Jérémy Lecour 099691614e redis: set_facts separately to reuse them
All checks were successful
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
All checks were successful
continuous-integration/drone/push Build is passing
2020-03-02 21:19:50 +01:00
Jérémy Lecour e510c44a4a Merge remote-tracking branch 'origin/T47076' into unstable 2020-03-02 20:54:27 +01:00
Jérémy Lecour 7283e34077 Replace version_compare() with version() 2020-02-25 10:45:35 +01:00
Jérémy Lecour adc1aad883 redis: data directory is configurable
All checks were successful
continuous-integration/drone/push Build is passing
2020-01-17 14:54:05 +01:00
Alexis Ben Miloud--Josselin 97719d28f2 redis: add log2mail
All checks were successful
continuous-integration/drone/push Build is passing
2020-01-08 17:23: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 79bb6103b8 Change "|version_compare" with "is version_compare" 2019-12-31 10:18:19 +01:00
Eric Morino 270e42ac77 Remove hooks directories if debian 10 and superior
All checks were successful
continuous-integration/drone/push Build is passing
2019-12-30 17:32:08 +01:00
Jérémy Lecour 607ee119ec redis: sudo nopasswd for nagios check 2019-12-13 10:44:44 +01:00
Victor LABORIE 6f5e13f8b8 Add evolix prefix to include_role 2019-11-29 14:00:25 +01:00
Jérémy Lecour bc5e19c002 redis: reload redis when configuration is changed 2019-10-21 15:26:03 +02:00
Jérémy Lecour a57b734486 Revert "NRPE checks probably don't need sudo"
This reverts commit d05897fe93.
2019-09-06 16:02:00 +02:00
Jérémy Lecour c6cba6d9e0 sudo without password for nagios 2019-09-06 15:55:35 +02:00
Jérémy Lecour d05897fe93 NRPE checks probably don't need sudo 2019-09-06 14:02:52 +02:00
Jérémy Lecour 961f50c1a6 Fix permissions for check_redis and check_redis_instances 2019-09-06 14:00:44 +02:00
Jérémy Lecour 3768f6553a Rewrite NRPE checks 2019-09-06 13:55:12 +02:00
Jérémy Lecour 795d397eab better compatibility with Debian Jessie 2019-09-06 13:54:41 +02:00
Jérémy Lecour e0ec9e63cb improve task names 2019-09-05 12:22:02 +02:00
Jérémy Lecour 244b2ef96b Copy hooks example files 2019-09-05 12:21:51 +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
Ludovic Poujol fa49f249e7 redis: Don't set the owner of /var/{lib,log}/redis to a redis instance account 2018-12-17 14:43:42 +01:00
Ludovic Poujol f2f595af13 redis: In instance mode, ensure to replace the nrpe check_redis with the instance check script 2018-12-05 16:37:52 +01:00
Jérémy Lecour e89da9146b redis: fix shell for redis users 2018-11-14 15:34:03 +01:00
Jérémy Lecour c60f30b106 redis: fix permissions for multiples instances 2018-11-14 15:33:43 +01:00
Patrick Marchand 9198c1e2c0 ansible-lint does not like trailing whitespace 2018-11-13 16:56:31 -05:00
Jérémy Lecour e0a4ae6b66 redis: improve a few tasks names 2018-09-20 12:23:51 +02: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 50a1003f15 don't use jinja2 templating delimiters with "when" statements 2018-05-18 09:44:25 +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 ec1252f4ba whitespaces 2017-12-27 15:36:45 +01:00
Jérémy Lecour 55d31f7288 Redis: configuration for "protected-mode" + tags 2017-12-27 15:10:59 +01:00
Jérémy Lecour 6608f13421 redis: add missing tags 2017-11-15 11:29:22 +01:00
Jérémy Lecour e2e7aba739 redis: looser regexp for check_redis replace 2017-11-15 11:29:22 +01:00
Jérémy Lecour 1d68340b3b mysql: better support for check mode 2017-11-14 09:39:24 +01:00
Victor LABORIE 1c48df025c Move /usr rw remount into remount-usr role 2017-11-07 13:34:05 +01:00
Ludovic Poujol 27e4512e50 Redis: Ensure that we do not modify munin-node config if there is multiple redis config blocs 2017-10-03 10:21:13 +02:00
Ludovic Poujol 36419c5b3c Redis: Set pasword variable as NULL instead of '' 2017-10-02 17:13:10 +02: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 c12559193a Redis: Add the possibility to set an instance password 2017-09-28 15:02:29 +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