Ansible-Linux_Base/roles/base/handlers/main.yml

30 lines
439 B
YAML
Raw Normal View History

2021-09-01 17:31:49 -06:00
---
# 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