30 lines
439 B
YAML
30 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
|