Files
role_haproxy/handlers/main.yml
T
2026-10-29 00:49:07 +01:00

16 lines
283 B
YAML

---
# handlers file for haproxy
- name: Ensure to install cronjob
ansible.builtin.command:
argv:
- acme.sh
- --install-cronjob
become: true
- name: Restart haproxy.service
ansible.builtin.systemd:
state: restarted
name: haproxy.service
become: true