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