set path to find mon and osd systemd unit file templates

Signed-off-by: Huamin Chen <hchen@redhat.com>
pull/715/head
Huamin Chen 2016-04-14 21:57:27 +00:00
parent 1d3b3c63b8
commit 9d81f32538
2 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@
- name: generate systemd unit file - name: generate systemd unit file
become: true become: true
template: template:
src: ../templates/ceph-mon.service.j2 src: "{{ playbook_dir }}/roles/ceph-mon/templates/ceph-mon.service.j2"
dest: /var/lib/ceph/ceph-mon@.service dest: /var/lib/ceph/ceph-mon@.service
owner: "root" owner: "root"
group: "root" group: "root"

View File

@ -107,7 +107,7 @@
- name: generate systemd unit file - name: generate systemd unit file
become: true become: true
template: template:
src: ceph-osd.service.j2 src: "{{ playbook_dir }}/roles/ceph-osd/templates/ceph-osd.service.j2"
dest: /var/lib/ceph/ceph-osd@.service dest: /var/lib/ceph/ceph-osd@.service
owner: "root" owner: "root"
group: "root" group: "root"