22 lines
429 B
YAML
22 lines
429 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
|
||
|
state: restarted
|
||
|
daemon_reload: true
|