mirror of https://github.com/ceph/ceph-ansible.git
cephadm-adopt: fix rbd-mirror adoption
The recent rbdmirror refactor introduced a regression in the
cephadm-adopt playbook.
Given that the rbd-mirror peer addition is now done by using the monitor
config-key store method during the cluster deployment, we can drop this
play from the cephadm-adopt.yml playbook.
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=2140569
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit c3fae04b8d
)
pull/7367/head
parent
470f63aebb
commit
fb6098fa7c
|
@ -462,7 +462,9 @@
|
||||||
gather_facts: true
|
gather_facts: true
|
||||||
tasks:
|
tasks:
|
||||||
- name: store existing rbd mirror peers in monitor config store
|
- name: store existing rbd mirror peers in monitor config store
|
||||||
when: ceph_rbd_mirror_configure | default(False) | bool
|
when:
|
||||||
|
- ceph_rbd_mirror_configure | default(True) | bool
|
||||||
|
- ceph_rbd_mirror_remote_user is undefined
|
||||||
block:
|
block:
|
||||||
- name: import ceph-defaults
|
- name: import ceph-defaults
|
||||||
import_role:
|
import_role:
|
||||||
|
|
Loading…
Reference in New Issue