7745439f35
* Document the optionality in the defaults * validate the input in the tasks before it's templated * Standardize on the exec(starts,stops,reloads} interface * Update the readme * Add functional test Change-Id: Icae36f970178b1cc79d069a94321afb1732a8c5c Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
8 lines
591 B
Django/Jinja
8 lines
591 B
Django/Jinja
# {{ ansible_managed }}
|
|
|
|
{% if item.systemd_lock_path is defined %}
|
|
D {{ item.systemd_lock_path }} 2755 {{ item.systemd_user_name | default(systemd_user_name) }} {{ item.systemd_group_name | default(systemd_group_name) }}
|
|
{% endif %}
|
|
D /var/lock/{{ item.service_name | replace(' ', '_') }} 2755 {{ item.systemd_user_name | default(systemd_user_name) }} {{ item.systemd_group_name | default(systemd_group_name) }}
|
|
D /var/run/{{ item.service_name | replace(' ', '_') }} 2755 {{ item.systemd_user_name | default(systemd_user_name) }} {{ item.systemd_group_name | default(systemd_group_name) }}
|