ansible-role-lstu/handlers/main.yml

22 lines
447 B
YAML

---
- name: "get certificate"
ansible.builtin.command: dehydrated --cron -g
delegate_to: "{{ gateway_host }}"
- name: reload nginx
ansible.builtin.service:
name: nginx
state: reloaded
delegate_to: "{{ gateway_host }}"
- name: reload monit
ansible.builtin.service:
name: monit
state: reloaded
- name: restart lstu
ansible.builtin.systemd:
name: lstu
enabled: true
state: restarted
daemon_reload: true