From 1bf18e6c80157c0ad91f38e4197ee7194c0630b5 Mon Sep 17 00:00:00 2001 From: Alessandro Corbelli Date: Wed, 12 Mar 2014 15:01:46 +0100 Subject: [PATCH] Use ansible_fqnd also in mds role --- roles/mds/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/mds/tasks/main.yml b/roles/mds/tasks/main.yml index e3fd270aa..0849ebec3 100644 --- a/roles/mds/tasks/main.yml +++ b/roles/mds/tasks/main.yml @@ -3,7 +3,7 @@ # - 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 - name: Create MDS directory