mirror of https://github.com/ceph/ceph-ansible.git
make RGW directory use same host var
ansible_fqdn is full domain, while hostname may be in short formpull/250/head
parent
72269eb5a2
commit
efb8e68c69
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue