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
Guillaume Abrioux 2017-02-10 10:04:54 +01:00
parent 315b1bf702
commit 11bae8b252
1 changed files with 1 additions and 0 deletions

View File

@ -42,6 +42,7 @@
- include: facts_mon_fsid.yml
run_once: true
when:
- cephx
- not monitor_keyring_conf.stat.exists
- ceph_current_fsid.rc == 0
- mon_group_name in group_names