diff --git a/roles/ceph-radosgw/tasks/pre_requisite.yml b/roles/ceph-radosgw/tasks/pre_requisite.yml index 98148972f..374d61dd2 100644 --- a/roles/ceph-radosgw/tasks/pre_requisite.yml +++ b/roles/ceph-radosgw/tasks/pre_requisite.yml @@ -1,7 +1,7 @@ --- - name: Create RGW directory file: > - path=/var/lib/ceph/radosgw/ceph-radosgw.{{ ansible_fqdn }} + path=/var/lib/ceph/radosgw/ceph-radosgw.{{ ansible_hostname }} state=directory owner=root group=root @@ -18,7 +18,7 @@ - name: Activate RGW with upstart file: > - path=/var/lib/ceph/radosgw/ceph-radosgw.{{ ansible_fqdn }}/{{ item }} + path=/var/lib/ceph/radosgw/ceph-radosgw.{{ ansible_hostname }}/{{ item }} state=touch owner=root group=root