mirror of https://github.com/ceph/ceph-ansible.git
commit
4990a9abdb
|
@ -1,2 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
exec /usr/bin/radosgw -c /etc/ceph/ceph.conf -n client.radosgw.gateway
|
|
|
@ -136,8 +136,8 @@
|
||||||
- restart apache2
|
- restart apache2
|
||||||
|
|
||||||
- name: Install s3gw.fcgi script
|
- name: Install s3gw.fcgi script
|
||||||
copy: >
|
template: >
|
||||||
src=s3gw.fcgi
|
src=s3gw.fcgi.j2
|
||||||
dest=/var/www/s3gw.fcgi
|
dest=/var/www/s3gw.fcgi
|
||||||
mode=0555
|
mode=0555
|
||||||
owner=root
|
owner=root
|
||||||
|
|
|
@ -47,8 +47,8 @@
|
||||||
mode=0644
|
mode=0644
|
||||||
|
|
||||||
- name: Install s3gw.fcgi script
|
- name: Install s3gw.fcgi script
|
||||||
copy: >
|
template: >
|
||||||
src=s3gw.fcgi
|
src=s3gw.fcgi.j2
|
||||||
dest=/var/www/s3gw.fcgi
|
dest=/var/www/s3gw.fcgi
|
||||||
mode=0555
|
mode=0555
|
||||||
owner=root
|
owner=root
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# {{ ansible_managed }}
|
# {{ ansible_managed }}
|
||||||
|
|
||||||
FastCgiExternalServer /var/www/s3gw.fcgi -socket /tmp/radosgw.sock
|
FastCgiExternalServer /var/www/s3gw.fcgi -socket /tmp/radosgw-{{ ansible_hostname }}.sock
|
||||||
<VirtualHost *:80>
|
<VirtualHost *:80>
|
||||||
ServerName {{ ansible_hostname }}
|
ServerName {{ ansible_hostname }}
|
||||||
ServerAdmin {{ email_address }}@{{ ansible_fqdn }}
|
ServerAdmin {{ email_address }}@{{ ansible_fqdn }}
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
# {{ ansible_managed }}
|
||||||
|
#!/bin/sh
|
||||||
|
exec /usr/bin/radosgw -c /etc/ceph/ceph.conf -n client.radosgw.{{ ansible_hostname }}
|
Loading…
Reference in New Issue