Add caddy reload on caddy tag

This commit is contained in:
Tobias Reisinger 2024-10-08 21:33:01 +02:00
parent 0a604b77ba
commit 7d8fa25ad9
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE

View file

@ -26,3 +26,11 @@
loop: "{{ all_services | my_service_attributes(inventory_hostname) }}"
loop_control:
loop_var: services_item
- name: Reload caddy on caddy tag
ansible.builtin.include_tasks:
file: tasks/reload-caddy.yml
apply:
tags: caddy
tags: caddy
when: "'caddy' in ansible_run_tags"