]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
adopt: fix rbd-mirror adoption v6.0.25
authorGuillaume Abrioux <gabrioux@redhat.com>
Wed, 9 Feb 2022 16:29:29 +0000 (17:29 +0100)
committerGuillaume Abrioux <gabrioux@redhat.com>
Thu, 10 Feb 2022 07:49:43 +0000 (08:49 +0100)
commit314ba6e3e9e8971081fab6f16b63a70db8881ca4
treede0f616bc9e56f9bcb537375b0bf28273a1f8d58
parent371c25f0ef154ec72b386a869f0ea8aa0429898d
adopt: fix rbd-mirror adoption

We can't use `{{ cephadm_cmd }}` here because the monitors aren't yet adopted.
We must use `{{ ceph_cmd }}` instead.
This also fixes some filters `| default()` (they must be moved before `| from_json()`)

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1967440
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 94e51d5c14719fa08477a8df1c5cf05d359b5ab5)
infrastructure-playbooks/cephadm-adopt.yml