Commit c373bfa0 authored by Guillaume Abrioux's avatar Guillaume Abrioux Committed by Dimitri Savineau
Browse files

osd: move systemd rendering task

This commit moves the systemd rendering task into `systemd.yml` file.
Otherwise, when running docker to podman playbook, the systemd unit file
isn't updated as it should be.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1870141

Signed-off-by: default avatarGuillaume Abrioux <gabrioux@redhat.com>
parent 8a154ae1
......@@ -83,19 +83,6 @@
register: ceph_volume_osd_ids
when: osd_scenario == 'lvm'
- name: generate systemd unit file
become: true
template:
src: "{{ role_path }}/templates/ceph-osd.service.j2"
dest: /etc/systemd/system/ceph-osd@.service
owner: "root"
group: "root"
mode: "0644"
notify:
- restart ceph osds
when:
- containerized_deployment
- name: device to id migration
when:
- containerized_deployment | bool
......
......@@ -8,4 +8,15 @@
group: "root"
mode: "0744"
notify:
- restart ceph osds
\ No newline at end of file
- restart ceph osds
- name: generate systemd unit file
become: true
template:
src: "{{ role_path }}/templates/ceph-osd.service.j2"
dest: /etc/systemd/system/ceph-osd@.service
owner: "root"
group: "root"
mode: "0644"
notify:
- restart ceph osds
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment