Use ansible_fqnd also in mds role

pull/36/head
Alessandro Corbelli 2014-03-12 15:01:46 +01:00
parent 57831b4083
commit 1bf18e6c80
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@
# #
- name: Copy MDS bootstrap key - name: Copy MDS bootstrap key
copy: src=fetch/{{ hostvars[groups['mons'][0]]['ansible_hostname'] }}/var/lib/ceph/bootstrap-mds/ceph.keyring dest=/var/lib/ceph/bootstrap-mds/ceph.keyring owner=root group=root mode=600 copy: src=fetch/{{ hostvars[groups['mons'][0]]['ansible_fqdn'] }}/var/lib/ceph/bootstrap-mds/ceph.keyring dest=/var/lib/ceph/bootstrap-mds/ceph.keyring owner=root group=root mode=600
when: cephx when: cephx
- name: Create MDS directory - name: Create MDS directory