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

17 lines
429 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 tcmu-runner
- restart ceph rbd-target-api-gw