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
|
||||
|
||||
- name: Install s3gw.fcgi script
|
||||
copy: >
|
||||
src=s3gw.fcgi
|
||||
template: >
|
||||
src=s3gw.fcgi.j2
|
||||
dest=/var/www/s3gw.fcgi
|
||||
mode=0555
|
||||
owner=root
|
||||
|
|
|
@ -47,8 +47,8 @@
|
|||
mode=0644
|
||||
|
||||
- name: Install s3gw.fcgi script
|
||||
copy: >
|
||||
src=s3gw.fcgi
|
||||
template: >
|
||||
src=s3gw.fcgi.j2
|
||||
dest=/var/www/s3gw.fcgi
|
||||
mode=0555
|
||||
owner=root
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# {{ ansible_managed }}
|
||||
|
||||
FastCgiExternalServer /var/www/s3gw.fcgi -socket /tmp/radosgw.sock
|
||||
FastCgiExternalServer /var/www/s3gw.fcgi -socket /tmp/radosgw-{{ ansible_hostname }}.sock
|
||||
<VirtualHost *:80>
|
||||
ServerName {{ ansible_hostname }}
|
||||
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