Add caddy reload on caddy tag
This commit is contained in:
parent
0a604b77ba
commit
7d8fa25ad9
1 changed files with 8 additions and 0 deletions
|
@ -26,3 +26,11 @@
|
||||||
loop: "{{ all_services | my_service_attributes(inventory_hostname) }}"
|
loop: "{{ all_services | my_service_attributes(inventory_hostname) }}"
|
||||||
loop_control:
|
loop_control:
|
||||||
loop_var: services_item
|
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"
|
||||||
|
|
Loading…
Reference in a new issue