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