redis: variable to force use of port 6379 in instances mode
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
995cb6d9a2
commit
d80461e39a
|
@ -13,6 +13,7 @@ The **patch** part changes incrementally at each release.
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
* nextcloud: New role to setup a nextcloud instance
|
* nextcloud: New role to setup a nextcloud instance
|
||||||
|
* redis: variable to force use of port 6379 in instances mode
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
|
|
|
@ -3,6 +3,8 @@ redis_systemd_name: redis-server
|
||||||
|
|
||||||
redis_conf_dir_prefix: /etc/redis
|
redis_conf_dir_prefix: /etc/redis
|
||||||
|
|
||||||
|
redis_force_instance_port: False
|
||||||
|
|
||||||
redis_port: 6379
|
redis_port: 6379
|
||||||
redis_bind_interface: 127.0.0.1
|
redis_bind_interface: 127.0.0.1
|
||||||
|
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
that:
|
that:
|
||||||
- redis_port != 6379
|
- redis_port != 6379
|
||||||
msg: "If you want to use port 6379, use the default instance, not a named instance."
|
msg: "If you want to use port 6379, use the default instance, not a named instance."
|
||||||
|
when: not redis_force_instance_port
|
||||||
|
|
||||||
- name: "Instance '{{ redis_instance_name }}' group is present"
|
- name: "Instance '{{ redis_instance_name }}' group is present"
|
||||||
group:
|
group:
|
||||||
|
|
Loading…
Reference in a new issue