-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmain.yml
63 lines (53 loc) · 1.53 KB
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
---
# defaults file for redis-server
# iproute2 is required for ss (zabbix-monitoring)
redis_server_packages:
- redis-server
- iproute2
# redis 6.2 or newer is required for GitLab 16.8
redis_use_redis_io: true
redis_apt_url: https://packages.redis.io/deb
redis_apt_suites: '{{ ansible_distribution_release }}'
redis_apt_components: main
redis_apt_key_url: https://packages.redis.io/gpg
redis_server_bind: '127.0.0.1 -::1'
# redis_server_logfile: /var/log/redis/redis-server.log
redis_server_logfile:
redis_server_loglevel: notice
redis_server_syslog_enabled: true
redis_server_syslog_ident: redis
# Specify the syslog facility. Must be USER or between LOCAL0-LOCAL7.
redis_server_syslog_facility: local0
# socket is not working on all systems!
# port 0 for socket only
redis_server_port: 6379
redis_server_unixsocket: /run/redis/redis.sock
redis_server_unixsocketperm: 770
redis_server_timeout: 0
redis_server_databases: 16
redis_server_requirepass: ''
# use false for systemd
redis_server_daemonize: false
# use systemd for systemd (quotes are required here)
redis_server_supervised: 'systemd'
# redis_server_pidfile: /run/redis/redis-server.pid
# for system no pid file is used
redis_server_pidfile: ''
# Disable certain Redis commands for security reasons.
redis_server_disabled_commands: []
# - FLUSHDB
# - FLUSHALL
# - KEYS
# - PEXPIRE
# - DEL
# - CONFIG
# - SHUTDOWN
# - BGREWRITEAOF
# - BGSAVE
# - SAVE
# - SPOP
# - SREM
# - RENAME
# - DEBUG
# zabbix template: https://github.com/cuimingkun/zbx_tem_redis
zabbix_monitoring: false