Commit graph

70 commits

Author SHA1 Message Date
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
Jérémy Lecour 5582d6e724 redis: socket/pid directories have the correct permissions 2021-03-18 15:15:39 +01:00
Jérémy Lecour 3709808fdc redis: use /run instead or /var/run
All checks were successful
continuous-integration/drone/push Build is passing
2021-02-18 16:42:54 +01:00
Jérémy Lecour 6c84ada361 redis: s/content/block/ to workaround the blockinfile bug 2021-02-04 10:55:31 +01:00
Jérémy Lecour 84bd3372d5 blockinfile: change from "content" to "block"
All checks were successful
continuous-integration/drone/push Build is passing
It solves the diff bug :
https://github.com/ansible/ansible/issues/62315
2020-12-02 15:22:35 +01:00
Jérémy Lecour d80461e39a redis: variable to force use of port 6379 in instances mode
All checks were successful
continuous-integration/drone/push Build is passing
2020-10-19 16:03:58 +02:00
Jérémy Lecour 4cf438c8ff redis: raise an error is port 6379 is used in "instance" mode
All checks were successful
continuous-integration/drone/push Build is passing
2020-06-02 11:22:56 +02:00
Jérémy Lecour 47d11308ba redis: create sudoers file if missing 2020-06-02 10:59:51 +02:00
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