openstack-ansible-os_keystone/templates/keystone-systemd-tempfiles.j2
Jimmy McCrory 1b8a085b79 Include init_systemd taskfile once
Instead of providing vars to and including the keystone_init_systemd for
each keystone uwsgi program, loop over those program names within the
tasks.

This also prevents the /etc/tmpfiles.d/keystone.conf file from being
overwritten twice on every run.

Change-Id: I00dc80db7f6672fb26af0ec2301b3a4ea451844d
2017-07-05 17:12:07 -07:00

7 lines
293 B
Django/Jinja

# {{ ansible_managed }}
{% for program_name in keystone_wsgi_program_names %}
D /var/lock/{{ program_name }} 2755 {{ keystone_system_user_name }} {{ keystone_system_group_name }}
D /var/run/{{ program_name }} 2755 {{ keystone_system_user_name }} {{ keystone_system_group_name }}
{% endfor %}