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
|
- name: Create RGW directory
|
||||||
file: >
|
file: >
|
||||||
path=/var/lib/ceph/radosgw/ceph-radosgw.{{ ansible_fqdn }}
|
path=/var/lib/ceph/radosgw/ceph-radosgw.{{ ansible_hostname }}
|
||||||
state=directory
|
state=directory
|
||||||
owner=root
|
owner=root
|
||||||
group=root
|
group=root
|
||||||
|
@ -18,7 +18,7 @@
|
||||||
|
|
||||||
- name: Activate RGW with upstart
|
- name: Activate RGW with upstart
|
||||||
file: >
|
file: >
|
||||||
path=/var/lib/ceph/radosgw/ceph-radosgw.{{ ansible_fqdn }}/{{ item }}
|
path=/var/lib/ceph/radosgw/ceph-radosgw.{{ ansible_hostname }}/{{ item }}
|
||||||
state=touch
|
state=touch
|
||||||
owner=root
|
owner=root
|
||||||
group=root
|
group=root
|
||||||
|
|
Loading…
Reference in New Issue