2023-03-20 20:01:04 +01:00
|
|
|
---
|
|
|
|
- name: restart rsyslog
|
|
|
|
ansible.builtin.service:
|
|
|
|
name: rsyslog
|
|
|
|
state: restarted
|
|
|
|
|
2023-11-03 21:37:22 +01:00
|
|
|
- name: Reload systemd
|
|
|
|
ansible.builtin.systemd:
|
|
|
|
daemon_reload: true
|
|
|
|
|
2023-03-20 20:01:04 +01:00
|
|
|
- name: reload postfix
|
|
|
|
ansible.builtin.service:
|
|
|
|
name: postfix
|
|
|
|
state: reloaded
|
|
|
|
|
|
|
|
- name: restart postfix
|
|
|
|
ansible.builtin.service:
|
|
|
|
name: postfix
|
|
|
|
state: restarted
|
|
|
|
|
2023-04-17 22:11:40 +02:00
|
|
|
- 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 }}"
|