pull/52/head
Alessandro Corbelli 2014-03-19 12:45:56 +01:00
parent 4281b4d247
commit 504ca7b154
2 changed files with 4 additions and 4 deletions

View File

@ -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 }}"

View File

@ -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