playbooks/roles/vhosts/apisix_service/handlers/main.yml

10 lines
246 B
YAML

---
- name: Reload caddy
ansible.builtin.command: systemctl reload caddy
changed_when: true
- name: Restart APISIX
ansible.builtin.command:
cmd: docker compose -f "{{ apisix_service_compose_file }}" restart apisix
changed_when: true