ceph-ansible/roles/ceph-iscsi-gw/tasks/systemd.yml

16 lines
414 B
YAML

---
- name: generate systemd unit files for tcmu-runner, rbd-target-api and rbd-target-gw
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 tcmu-runner
- restart ceph rbd-target-api-gw