16 lines
283 B
YAML
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
|