35 lines
664 B
YAML
35 lines
664 B
YAML
---
|
|
- name: restart rsyslog
|
|
ansible.builtin.service:
|
|
name: rsyslog
|
|
state: restarted
|
|
|
|
- name: reload fail2ban
|
|
ansible.builtin.service:
|
|
name: fail2ban
|
|
state: reloaded
|
|
|
|
- name: reload postfix
|
|
ansible.builtin.service:
|
|
name: postfix
|
|
state: reloaded
|
|
|
|
- name: restart postfix
|
|
ansible.builtin.service:
|
|
name: postfix
|
|
state: restarted
|
|
|
|
- name: reload monit
|
|
ansible.builtin.service:
|
|
name: monit
|
|
state: reloaded
|
|
|
|
- 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 }}"
|