]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
adopt: fix rbd-mirror adoption
authorGuillaume Abrioux <gabrioux@redhat.com>
Wed, 9 Feb 2022 16:29:29 +0000 (17:29 +0100)
committerGuillaume Abrioux <gabrioux@redhat.com>
Wed, 9 Feb 2022 19:58:27 +0000 (20:58 +0100)
commit94e51d5c14719fa08477a8df1c5cf05d359b5ab5
tree6f56afb68eb3f152294fa553a2cd728a57bb60b1
parentf30767432b2c3d5df60ff7087b77920ccd1ae0be
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>
infrastructure-playbooks/cephadm-adopt.yml