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/7423/head
parent
4947c87d2e
commit
74922b075d
|
@ -158,6 +158,7 @@
|
||||||
changed_when: false
|
changed_when: false
|
||||||
delegate_to: "{{ groups[mon_group_name][0] }}"
|
delegate_to: "{{ groups[mon_group_name][0] }}"
|
||||||
loop: "{{ mirror_peer.results }}"
|
loop: "{{ mirror_peer.results }}"
|
||||||
|
run_once: true
|
||||||
when: ceph_rbd_mirror_remote_user not in item.stdout
|
when: ceph_rbd_mirror_remote_user not in item.stdout
|
||||||
|
|
||||||
- name: rm temporary file
|
- name: rm temporary file
|
||||||
|
|
Loading…
Reference in New Issue