Browse Source

redis: raise an error is port 6379 is used in "instance" mode

tags/10.1.0^2
Jérémy Lecour 4 months ago
committed by Gitea
parent
commit
291ad2ba40
2 changed files with 7 additions and 0 deletions
  1. +1
    -0
      CHANGELOG.md
  2. +6
    -0
      redis/tasks/instance-server.yml

+ 1
- 0
CHANGELOG.md View File

@@ -21,6 +21,7 @@ The **patch** part changes incrementally at each release.
* haproxy: chroot and socket path are configurable
* redis: create sudoers file if missing
* redis: new syntax for match filter
* redis: raise an error is port 6379 is used in "instance" mode

### Fixed



+ 6
- 0
redis/tasks/instance-server.yml View File

@@ -1,5 +1,11 @@
---

- name: Verify Redis port
assert:
that:
- redis_port != 6379
msg: "If you want to use port 6379, use the default instance, not a named instance."

- name: "Instance '{{ redis_instance_name }}' group is present"
group:
name: "redis-{{ redis_instance_name }}"


Loading…
Cancel
Save