Commit Graph

119 Commits

Author SHA1 Message Date
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
Gregory Colpart 7deee9b1e6 modifications variables
continuous-integration/drone/push Build is passing Details
2019-10-24 15:12:55 +02: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 429fc39b86 redis: improve check_redis_instances
* a disabled instances is UNCHK (not CRITICAL)
* output is copied directly from check_redis
2019-10-02 14:13:59 +02:00
Jérémy Lecour 0a8061bbd6 return items on separate lines 2019-09-26 15:33:54 +02:00
Jérémy Lecour 2cf5027df9 redis: check_redis_instances supports password 2019-09-25 22:21:32 +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 a3bbc6fe87 use real booleans in Ansible configuration 2019-09-05 09:46:54 +02:00
Jérémy Lecour 62e43f85d9 change variable name for log level 2019-09-05 09:44:25 +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 6db519c2b0 redis: max clients is configurable
continuous-integration/drone/push Build is passing Details
2019-08-30 08:53:12 +02:00
Jérémy Lecour aa28e9c1b8 change repositories URL 2019-03-21 15:31:58 +01:00
Jérémy Lecour f3b54188d3 redis: higher limit of open files 2019-03-08 13:44:12 +01:00
Jérémy Lecour 02723ba0f3 redis: set variables on nclusion, not with set_facts 2019-03-08 13:44:12 +01:00
Victor LABORIE fabac07210 redis: add variable for configure unixsocketperm 2019-01-28 14:26:13 +01:00
Jérémy Lecour 921c92fd5b redis: add a variable for renamed/disabled commands 2019-01-08 10:04:27 +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
Jérémy Lecour 3b63172532 redis: distinction between main and master password 2018-12-21 11:08:18 +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
Victor LABORIE c7cc63444d redis: set masterauth when redis_password is defined 2018-09-20 16:42:35 +02: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
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
Jérémy Lecour fb955ae62c whitespaces 2017-06-12 15:11:40 +02:00
Gabriel Periard-Tremblay 87ebadcadd Kitchen: Change base image to evolix/ansible 2017-06-02 08:38:08 -04:00
Victor LABORIE 9885c351e5 redis: add munin config 2017-06-02 14:28:29 +02:00
Jérémy Lecour 033ebaa593 Add tests for many roles 2017-05-18 15:44:21 +02:00
Jérémy Lecour 5b2ab0d8d3 Ansible >= 2.2 supported 2017-03-24 14:15:09 +01: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
Victor LABORIE 1f177e6e76 Redis: default unix socket 2016-12-21 16:12:27 +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