1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_acmetool.git synced 2024-08-16 12:29:49 +02:00
ansible_role_acmetool/templates/acmetool_reload.j2

12 lines
408 B
Text
Raw Normal View History

2021-08-11 23:17:29 +02:00
# {{ ansible_managed }}
# https://github.com/roles-ansible/ansible_role_acmetool.git
#
# reload hook configuration file
# adding the service to the list of services to be reloaded by acmetool.
2023-10-30 01:53:47 +01:00
{% set services = ['$SERVICES'] %}
2023-10-29 22:40:35 +01:00
{% for service in acme_reload_services %}
2023-10-30 01:53:47 +01:00
{% set _ = services.append(service) %}
2023-10-29 22:40:35 +01:00
{% endfor %}
2023-10-30 01:53:47 +01:00
{% set services_string = services | join(' ') %}
SERVICES="{{ services_string }}"