Run creation of empty rados index object to first monitor

When distributing ceph-nfs role, creation of rados index object
fails as it assumes availability of client.admin locally.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1607970
Signed-off-by: Giulio Fidente <gfidente@redhat.com>
(cherry picked from commit e85e5ea781)
pull/2935/head
Giulio Fidente 2018-07-24 18:04:23 +02:00 committed by mergify[bot]
parent a4c87e2079
commit 9184b794dd
1 changed files with 2 additions and 0 deletions

View File

@ -13,6 +13,8 @@
when:
- ceph_nfs_rados_backend
- rados_index_exists.rc != 0
delegate_to: "{{ groups[mon_group_name][0] }}"
run_once: true
- name: create /etc/ganesha
file: