diff --git a/tasks/glance_init_systemd.yml b/tasks/glance_init_systemd.yml index 07a85e94..14a83f83 100644 --- a/tasks/glance_init_systemd.yml +++ b/tasks/glance_init_systemd.yml @@ -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" diff --git a/templates/glance-systemd-tempfiles.j2 b/templates/glance-systemd-tmpfiles.j2 similarity index 100% rename from templates/glance-systemd-tempfiles.j2 rename to templates/glance-systemd-tmpfiles.j2