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