From 74922b075d6b1370f4ba48740db2961c7eafe91a Mon Sep 17 00:00:00 2001 From: Guillaume Abrioux Date: Tue, 13 Sep 2022 16:54:22 +0200 Subject: [PATCH] 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 (cherry picked from commit aa64747cd111e37988849dbd20600b3b1fc049fa) --- roles/ceph-rbd-mirror/tasks/configure_mirroring.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/ceph-rbd-mirror/tasks/configure_mirroring.yml b/roles/ceph-rbd-mirror/tasks/configure_mirroring.yml index 07d01b35d..c83d17d41 100644 --- a/roles/ceph-rbd-mirror/tasks/configure_mirroring.yml +++ b/roles/ceph-rbd-mirror/tasks/configure_mirroring.yml @@ -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