redis: some values should be quoted
When Redis overwrites its own config, it uses quoted string values, so it's better to do the same to avoid changes.
This commit is contained in:
parent
ed4fdce58c
commit
fc52fbf4bc
|
@ -17,14 +17,15 @@ The **patch** part changes is incremented if multiple releases happen the same m
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
* evolinux-base: utils.yml can be excluded
|
* evolinux-base: utils.yml can be excluded
|
||||||
|
* evolinux-todo: execute tasks only for Debian distribution (because this task is a dependency for others roles used on different distributions)
|
||||||
* evolinux-user: Add sudoers privilege for chck php\_fpm81
|
* evolinux-user: Add sudoers privilege for chck php\_fpm81
|
||||||
* java: use default JRE package when version is not specified
|
* java: use default JRE package when version is not specified
|
||||||
* lxc-solr: download URL according to Solr Version
|
|
||||||
* lxc-solr: detect the real partition options
|
* lxc-solr: detect the real partition options
|
||||||
|
* lxc-solr: download URL according to Solr Version
|
||||||
* lxc-solr: set homedir and port at install
|
* lxc-solr: set homedir and port at install
|
||||||
* minifirewall: whitelist deb.freexian.com
|
* minifirewall: whitelist deb.freexian.com
|
||||||
|
* redis: some values should be quoted
|
||||||
* squid: whitelist deb.freexian.com
|
* squid: whitelist deb.freexian.com
|
||||||
* evolinux-todo: execute tasks only for Debian distribution (because this task is a dependency for others roles used on different distributions)
|
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
|
|
|
@ -1,24 +1,24 @@
|
||||||
daemonize yes
|
daemonize yes
|
||||||
pidfile {{ redis_pid_dir }}/redis-server.pid
|
pidfile "{{ redis_pid_dir }}/redis-server.pid"
|
||||||
port {{ redis_port }}
|
port {{ redis_port }}
|
||||||
bind {{ redis_bind_interfaces | join(' ') }}
|
bind {{ redis_bind_interfaces | join(' ') }}
|
||||||
|
|
||||||
{% if redis_socket_enabled %}
|
{% if redis_socket_enabled %}
|
||||||
unixsocket {{ redis_socket_dir }}/redis.sock
|
unixsocket "{{ redis_socket_dir }}/redis.sock"
|
||||||
unixsocketperm {{ redis_socket_perms }}
|
unixsocketperm {{ redis_socket_perms }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if redis_password %}
|
{% if redis_password %}
|
||||||
requirepass {{ redis_password }}
|
requirepass "{{ redis_password }}"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if redis_password_master %}
|
{% if redis_password_master %}
|
||||||
masterauth {{ redis_password_master }}
|
masterauth "{{ redis_password_master }}"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
timeout {{ redis_timeout }}
|
timeout {{ redis_timeout }}
|
||||||
|
|
||||||
loglevel {{ redis_log_level }}
|
loglevel {{ redis_log_level }}
|
||||||
logfile {{ redis_log_dir }}/redis-server.log
|
logfile "{{ redis_log_dir }}/redis-server.log"
|
||||||
|
|
||||||
# To enable logging to the system logger, just set 'syslog-enabled' to yes,
|
# To enable logging to the system logger, just set 'syslog-enabled' to yes,
|
||||||
# and optionally update the other syslog parameters to suit your needs.
|
# and optionally update the other syslog parameters to suit your needs.
|
||||||
|
@ -33,8 +33,8 @@ save {{ save }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
rdbcompression {{ redis_rdbcompression | bool | ternary('yes','no') }}
|
rdbcompression {{ redis_rdbcompression | bool | ternary('yes','no') }}
|
||||||
dbfilename {{ redis_data_file }}
|
dbfilename "{{ redis_data_file }}"
|
||||||
dir {{ redis_data_dir }}
|
dir "{{ redis_data_dir }}"
|
||||||
|
|
||||||
{% if redis_installed_version is version('3.2', '>=') %}
|
{% if redis_installed_version is version('3.2', '>=') %}
|
||||||
protected-mode {{ redis_protected_mode | bool | ternary('yes','no') }}
|
protected-mode {{ redis_protected_mode | bool | ternary('yes','no') }}
|
||||||
|
|
Loading…
Reference in New Issue