mirror of https://github.com/ceph/ceph-ansible.git
Use ansible_fqnd also in mds role
parent
57831b4083
commit
1bf18e6c80
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue