From: leseb Date: Mon, 27 Jul 2015 11:27:21 +0000 (+0200) Subject: Fix templates file path X-Git-Tag: v1.0.0~155^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F343%2Fhead;p=ceph-ansible.git Fix templates file path fixes: #342 Signed-off-by: leseb --- diff --git a/roles/ceph-rgw/tasks/installs/install_debian.yml b/roles/ceph-rgw/tasks/installs/install_debian.yml index 6d39a4490..6fb23da63 100644 --- a/roles/ceph-rgw/tasks/installs/install_debian.yml +++ b/roles/ceph-rgw/tasks/installs/install_debian.yml @@ -106,7 +106,7 @@ - name: install default httpd.conf template: > - src=httpd.conf + src=../../templates/httpd.conf dest=/etc/apache2/httpd.conf owner=root group=root @@ -120,7 +120,7 @@ - name: install rados gateway vhost template: > - src=rgw.conf + src=../../templates/rgw.conf dest=/etc/apache2/sites-available/rgw.conf owner=root group=root @@ -137,7 +137,7 @@ - name: install s3gw.fcgi script template: > - src=s3gw.fcgi.j2 + src=../../templates/s3gw.fcgi.j2 dest=/var/www/s3gw.fcgi mode=0555 owner=root diff --git a/roles/ceph-rgw/tasks/installs/install_redhat.yml b/roles/ceph-rgw/tasks/installs/install_redhat.yml index 7531d10b3..79d10ee21 100644 --- a/roles/ceph-rgw/tasks/installs/install_redhat.yml +++ b/roles/ceph-rgw/tasks/installs/install_redhat.yml @@ -1,7 +1,7 @@ --- - name: add ceph extra template: > - src=ceph-extra.repo + src=../../templates/ceph-extra.repo dest=/etc/yum.repos.d owner=root group=root @@ -24,14 +24,14 @@ - name: install rados gateway vhost template: > - src=rgw.conf + src=../../templates/rgw.conf dest=/etc/httpd/conf.d/rgw.conf owner=root group=root - name: install s3gw.fcgi script template: > - src=s3gw.fcgi.j2 + src=../../templates/s3gw.fcgi.j2 dest=/var/www/s3gw.fcgi mode=0555 owner=root