mirror of https://github.com/ceph/ceph-ansible.git
cephadm-adopt: Fixes rbd-mirror regression
pull/7454/head779523f86f
introduced a regression related to rbdmirrors tasks. They were executed while ceph_rbd_mirror_remot_* variables were not set. Signed-off-by: Teoman ONAY <tonay@ibm.com> (cherry picked from commit18cd35bad5
)
parent
0b2826132e
commit
0a9a91b662
|
@ -464,7 +464,8 @@
|
||||||
- name: store existing rbd mirror peers in monitor config store
|
- name: store existing rbd mirror peers in monitor config store
|
||||||
when:
|
when:
|
||||||
- ceph_rbd_mirror_configure | default(True) | bool
|
- ceph_rbd_mirror_configure | default(True) | bool
|
||||||
- ceph_rbd_mirror_remote_user is undefined
|
- ceph_rbd_mirror_remote_user is defined
|
||||||
|
- ceph_rbd_mirror_remote_cluster is defined
|
||||||
block:
|
block:
|
||||||
- name: import ceph-defaults
|
- name: import ceph-defaults
|
||||||
import_role:
|
import_role:
|
||||||
|
|
Loading…
Reference in New Issue