mirror of https://github.com/ceph/ceph-ansible.git
15 lines
385 B
YAML
15 lines
385 B
YAML
---
|
|
- name: generate systemd unit files for tcmu-runner, rbd-target-api and rbd-target-gw
|
|
become: true
|
|
template:
|
|
src: "{{ role_path }}/templates/{{ item }}.service.j2"
|
|
dest: /etc/systemd/system/{{ item }}.service
|
|
owner: "root"
|
|
group: "root"
|
|
mode: "0644"
|
|
with_items:
|
|
- tcmu-runner
|
|
- rbd-target-gw
|
|
- rbd-target-api
|
|
notify: restart ceph {{ item }}
|