mirror of https://github.com/ceph/ceph-ansible.git
Merge pull request #833 from ceph/template-path
ceph-common: uniformize template path callspull/836/head
commit
c7d5ef41be
|
@ -104,7 +104,7 @@
|
|||
|
||||
- name: install default httpd.conf
|
||||
template:
|
||||
src: ../../templates/httpd.conf
|
||||
src: "{{ role_path }}/templates/httpd.conf"
|
||||
dest: /etc/apache2/httpd.conf
|
||||
owner: root
|
||||
group: root
|
||||
|
@ -118,7 +118,7 @@
|
|||
|
||||
- name: install rados gateway vhost
|
||||
template:
|
||||
src: ../../templates/rgw.conf
|
||||
src: "{{ role_path }}/templates/rgw.conf"
|
||||
dest: /etc/apache2/sites-available/rgw.conf
|
||||
owner: root
|
||||
group: root
|
||||
|
@ -135,7 +135,7 @@
|
|||
|
||||
- name: install s3gw.fcgi script
|
||||
template:
|
||||
src: ../../templates/s3gw.fcgi.j2
|
||||
src: "{{ role_path }}/templates/s3gw.fcgi.j2"
|
||||
dest: /var/www/s3gw.fcgi
|
||||
mode: 0555
|
||||
owner: root
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
- name: add ceph extra
|
||||
template:
|
||||
src: ../../templates/ceph-extra.repo
|
||||
src: "{{ role_path }}/templates/ceph-extra.repo"
|
||||
dest: /etc/yum.repos.d
|
||||
owner: root
|
||||
group: root
|
||||
|
@ -36,14 +36,14 @@
|
|||
|
||||
- name: install rados gateway vhost
|
||||
template:
|
||||
src: ../../templates/rgw.conf
|
||||
src: "{{ role_path }}/templates/rgw.conf"
|
||||
dest: /etc/httpd/conf.d/rgw.conf
|
||||
owner: root
|
||||
group: root
|
||||
|
||||
- name: install s3gw.fcgi script
|
||||
template:
|
||||
src: ../../templates/s3gw.fcgi.j2
|
||||
src: "{{ role_path }}/templates/s3gw.fcgi.j2"
|
||||
dest: /var/www/s3gw.fcgi
|
||||
mode: 0555
|
||||
owner: root
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
- name: add red hat storage repository
|
||||
template:
|
||||
src: ../../templates/redhat_storage_repo.j2
|
||||
src: "{{ role_path }}/templates/redhat_storage_repo.j2"
|
||||
dest: /etc/yum.repos.d/rh_storage.repo
|
||||
owner: root
|
||||
group: root
|
||||
|
|
|
@ -51,7 +51,7 @@
|
|||
|
||||
- name: add inktank ceph enterprise repository
|
||||
template:
|
||||
src: redhat_ice_repo.j2
|
||||
src: "{{ role_path }}/templates/redhat_ice_repo.j2"
|
||||
dest: /etc/yum.repos.d/ice.repo
|
||||
owner: root
|
||||
group: root
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
- name: generate ceph configuration file
|
||||
action: config_template
|
||||
args:
|
||||
src: "{{ playbook_dir }}/roles/ceph-common/templates/ceph.conf.j2"
|
||||
src: "{{ role_path }}/templates/ceph.conf.j2"
|
||||
dest: /etc/ceph/ceph.conf
|
||||
owner: "root"
|
||||
group: "root"
|
||||
|
|
|
@ -44,7 +44,7 @@
|
|||
- name: generate systemd unit file
|
||||
become: true
|
||||
template:
|
||||
src: "{{ playbook_dir }}/roles/ceph-mon/templates/ceph-mon.service.j2"
|
||||
src: "{{ role_path }}/templates/ceph-mon.service.j2"
|
||||
dest: /var/lib/ceph/ceph-mon@.service
|
||||
owner: "root"
|
||||
group: "root"
|
||||
|
|
|
@ -104,7 +104,7 @@
|
|||
- name: generate systemd unit file
|
||||
become: true
|
||||
template:
|
||||
src: "{{ playbook_dir }}/roles/ceph-osd/templates/ceph-osd.service.j2"
|
||||
src: "{{ role_path }}/templates/ceph-osd.service.j2"
|
||||
dest: /var/lib/ceph/ceph-osd@.service
|
||||
owner: "root"
|
||||
group: "root"
|
||||
|
|
Loading…
Reference in New Issue