ansible-role-lstu/handlers/main.yml

22 lines
429 B
YAML
Raw Normal View History

2022-12-10 15:02:35 +01:00
---
- 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
state: restarted
daemon_reload: true