mirror of https://github.com/ceph/ceph-ansible.git
Skip facts_mon_fsid.yml if cephx is disabled
If cephx is disabled it is not necessary to include `facts_mon_fsid.yml` in `roles/ceph-common/tasks/facts.yml`. Fix: #1300 Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>pull/1304/head
parent
315b1bf702
commit
11bae8b252
|
@ -42,6 +42,7 @@
|
||||||
- include: facts_mon_fsid.yml
|
- include: facts_mon_fsid.yml
|
||||||
run_once: true
|
run_once: true
|
||||||
when:
|
when:
|
||||||
|
- cephx
|
||||||
- not monitor_keyring_conf.stat.exists
|
- not monitor_keyring_conf.stat.exists
|
||||||
- ceph_current_fsid.rc == 0
|
- ceph_current_fsid.rc == 0
|
||||||
- mon_group_name in group_names
|
- mon_group_name in group_names
|
||||||
|
|
Loading…
Reference in New Issue