mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-24 15:01:43 -07:00
Adjust YAML files (#10233)
Adjust YAML files.
(cherry picked from commit eaa5e07b28
)
This commit is contained in:
parent
e8ff74f077
commit
a9e892952d
244 changed files with 7272 additions and 7329 deletions
|
@ -4,4 +4,4 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
dependencies:
|
||||
- setup_redis_replication
|
||||
- setup_redis_replication
|
||||
|
|
|
@ -14,10 +14,10 @@
|
|||
|
||||
- assert:
|
||||
that:
|
||||
- result is not changed
|
||||
- result.info is defined
|
||||
- result.info.tcp_port == master_port
|
||||
- result.info.role == 'master'
|
||||
- result is not changed
|
||||
- result.info is defined
|
||||
- result.info.tcp_port == master_port
|
||||
- result.info.role == 'master'
|
||||
|
||||
- name: redis_info - connect to master (check)
|
||||
community.general.redis_info:
|
||||
|
@ -29,10 +29,10 @@
|
|||
|
||||
- assert:
|
||||
that:
|
||||
- result is not changed
|
||||
- result.info is defined
|
||||
- result.info.tcp_port == master_port
|
||||
- result.info.role == 'master'
|
||||
- result is not changed
|
||||
- result.info is defined
|
||||
- result.info.tcp_port == master_port
|
||||
- result.info.role == 'master'
|
||||
|
||||
- name: redis_info - connect to replica
|
||||
community.general.redis_info:
|
||||
|
@ -42,7 +42,7 @@
|
|||
|
||||
- assert:
|
||||
that:
|
||||
- result is not changed
|
||||
- result.info is defined
|
||||
- result.info.tcp_port == replica_port
|
||||
- result.info.role == 'slave'
|
||||
- result is not changed
|
||||
- result.info is defined
|
||||
- result.info.tcp_port == replica_port
|
||||
- result.info.role == 'slave'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue