mirror of https://github.com/ceph/ceph-ansible.git
Fix #51
parent
4281b4d247
commit
504ca7b154
|
@ -3,7 +3,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
- name: Copy RGW bootstrap key
|
- name: Copy RGW bootstrap key
|
||||||
copy: src=fetch/{{ hostvars[groups['mons'][0]]['ansible_hostname'] }}/etc/ceph/keyring.radosgw.gateway dest=/etc/ceph/keyring.radosgw.gateway owner=root group=root mode=600
|
copy: src=fetch/{{ hostvars[groups['mons'][0]]['ansible_fqdn'] }}/etc/ceph/keyring.radosgw.gateway dest=/etc/ceph/keyring.radosgw.gateway owner=root group=root mode=600
|
||||||
when: cephx
|
when: cephx
|
||||||
|
|
||||||
- name: Set RGW bootstrap key permissions
|
- name: Set RGW bootstrap key permissions
|
||||||
|
@ -46,7 +46,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
- name: Create RGW directory
|
- name: Create RGW directory
|
||||||
file: path=/var/lib/ceph/radosgw/{{ ansible_hostname }} state=directory owner=root group=root mode=0644
|
file: path=/var/lib/ceph/radosgw/{{ ansible_fqdn }} state=directory owner=root group=root mode=0644
|
||||||
|
|
||||||
- name: Enable Rados Gateway vhost and disable default site
|
- name: Enable Rados Gateway vhost and disable default site
|
||||||
command: "{{ item }}"
|
command: "{{ item }}"
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
- name: Copy RGW bootstrap key
|
- name: Copy RGW bootstrap key
|
||||||
copy: src=fetch/{{ hostvars[groups['mons'][0]]['ansible_hostname'] }}/etc/ceph/keyring.radosgw.gateway dest=/etc/ceph/keyring.radosgw.gateway owner=root group=root mode=600
|
copy: src=fetch/{{ hostvars[groups['mons'][0]]['ansible_fqdn'] }}/etc/ceph/keyring.radosgw.gateway dest=/etc/ceph/keyring.radosgw.gateway owner=root group=root mode=600
|
||||||
when: cephx
|
when: cephx
|
||||||
|
|
||||||
- name: Set RGW bootstrap key permissions
|
- name: Set RGW bootstrap key permissions
|
||||||
|
@ -37,7 +37,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
- name: Create RGW directory
|
- name: Create RGW directory
|
||||||
file: path=/var/lib/ceph/radosgw/{{ ansible_hostname }} state=directory owner=root group=root mode=0644
|
file: path=/var/lib/ceph/radosgw/{{ ansible_fqdn }} state=directory owner=root group=root mode=0644
|
||||||
|
|
||||||
- name: Install s3gw.fcgi script
|
- name: Install s3gw.fcgi script
|
||||||
copy: src=s3gw.fcgi dest=/var/www/s3gw.fcgi mode=0555 owner=root group=root
|
copy: src=s3gw.fcgi dest=/var/www/s3gw.fcgi mode=0555 owner=root group=root
|
||||||
|
|
Loading…
Reference in New Issue