mirror of https://github.com/ceph/ceph-ansible.git
rbd-mirror: add rx peer only once
in order to avoid the following error:
```
multiple RX peers are not currently supported
```
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=2037646
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit aa64747cd1
)
pull/7332/head
parent
54fdb86805
commit
320c01ece1
|
@ -158,6 +158,7 @@
|
|||
changed_when: false
|
||||
delegate_to: "{{ groups[mon_group_name][0] }}"
|
||||
loop: "{{ mirror_peer.results }}"
|
||||
run_once: true
|
||||
when: ceph_rbd_mirror_remote_user not in item.stdout
|
||||
|
||||
- name: rm temporary file
|
||||
|
|
Loading…
Reference in New Issue