29 lines
439 B
YAML
29 lines
439 B
YAML
---
|
|
# file: roles/base/handlers/main.yml
|
|
|
|
- name: Daemon Reload
|
|
systemd:
|
|
daemon_reload: yes
|
|
|
|
- name: Reboot Host
|
|
reboot:
|
|
|
|
- name: Reload Firewalld
|
|
service:
|
|
name: firewalld
|
|
state: reloaded
|
|
|
|
- name: Reload UFW
|
|
ufw:
|
|
state: reloaded
|
|
|
|
- name: Restart SSH
|
|
service:
|
|
name: sshd
|
|
state: restarted
|
|
|
|
- name: Update CA Debian
|
|
command: update-ca-certificates
|
|
|
|
- name: Update CA RedHat
|
|
command: /bin/update-ca-trust
|