Fix tmpfiles.d when multiple service are running
This fix tmpfile when multiple services runs in the same host with systemd. Change-Id: Ia81011f2a7099162b181003fd4521003c40bb317
This commit is contained in:
parent
cfa9efc85f
commit
c57b7ae0f1
|
@ -33,10 +33,10 @@
|
|||
with_dict: "{{ aodh_services }}"
|
||||
when: inventory_hostname in groups[item.value.group]
|
||||
|
||||
- name: Create tempfile.d entry
|
||||
- name: Create tmpfiles.d entry
|
||||
template:
|
||||
src: "aodh-systemd-tempfiles.j2"
|
||||
dest: "/etc/tmpfiles.d/aodh.conf"
|
||||
src: "aodh-systemd-tmpfiles.j2"
|
||||
dest: "/etc/tmpfiles.d/{{ item.value.service_name }}.conf"
|
||||
mode: "0644"
|
||||
owner: "root"
|
||||
group: "root"
|
||||
|
|
Loading…
Reference in New Issue