mirror of https://github.com/ceph/ceph-ansible.git
set path to find mon and osd systemd unit file templates
Signed-off-by: Huamin Chen <hchen@redhat.com>pull/715/head
parent
1d3b3c63b8
commit
9d81f32538
|
@ -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"
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue