29 lines
563 B
YAML
29 lines
563 B
YAML
---
|
|
- name: restart rsyslog
|
|
ansible.builtin.service:
|
|
name: rsyslog
|
|
state: restarted
|
|
|
|
- name: Reload systemd
|
|
ansible.builtin.systemd:
|
|
daemon_reload: true
|
|
|
|
- name: reload postfix
|
|
ansible.builtin.service:
|
|
name: postfix
|
|
state: reloaded
|
|
|
|
- name: restart postfix
|
|
ansible.builtin.service:
|
|
name: postfix
|
|
state: restarted
|
|
|
|
- name: Get certificate
|
|
command: dehydrated --cron -g
|
|
delegate_to: "{{ gateway_host }}"
|
|
|
|
- name: reload nginx
|
|
ansible.builtin.service:
|
|
name: nginx
|
|
state: reloaded
|
|
delegate_to: "{{ gateway_host }}"
|