From: Guillaume Abrioux Date: Mon, 12 Sep 2022 13:07:19 +0000 (+0200) Subject: rbd-mirror: fix multiple rbd-mirror daemon support X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=54fdb86805343cddc910a9d9616f2357e907662e;p=ceph-ansible.git rbd-mirror: fix multiple rbd-mirror daemon support This `run_once: true` breaks multiple rbd-mirror daemons support as it would make all rbd-mirror daemons use the same keyring. Each rbd-mirror daemon needs its own keyring in order to start. Closes: https://bugzilla.redhat.com/show_bug.cgi?id=2037646 Signed-off-by: Guillaume Abrioux (cherry picked from commit 665601bf8aae1b98e1e3efdb91c1f1914f0316ae) --- diff --git a/roles/ceph-rbd-mirror/tasks/configure_mirroring.yml b/roles/ceph-rbd-mirror/tasks/configure_mirroring.yml index de547a786..07d01b35d 100644 --- a/roles/ceph-rbd-mirror/tasks/configure_mirroring.yml +++ b/roles/ceph-rbd-mirror/tasks/configure_mirroring.yml @@ -71,7 +71,6 @@ CEPH_CONTAINER_BINARY: "{{ container_binary }}" register: _rbd_mirror_key delegate_to: "{{ groups.get(mon_group_name)[0] }}" - run_once: true no_log: "{{ no_log_on_ceph_key_tasks }}" - name: copy ceph key