]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
Skip facts_mon_fsid.yml if cephx is disabled 1304/head
authorGuillaume Abrioux <gabrioux@redhat.com>
Fri, 10 Feb 2017 09:04:54 +0000 (10:04 +0100)
committerGuillaume Abrioux <gabrioux@redhat.com>
Fri, 10 Feb 2017 16:04:32 +0000 (17:04 +0100)
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>
roles/ceph-common/tasks/facts.yml

index 9709e38195cc6cbd3430babff8df97f50471d4dc..6a05cc09739dbe4e12085ebebe700631986a65e7 100644 (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