diff --git a/playbooks/serguzim.net.yml b/playbooks/serguzim.net.yml index ef3e480..cdf969b 100644 --- a/playbooks/serguzim.net.yml +++ b/playbooks/serguzim.net.yml @@ -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"