2019-06-09 00:11:06 -04:00
|
|
|
---
|
|
|
|
- name: restart rsyslog
|
|
|
|
service:
|
|
|
|
name: rsyslog
|
|
|
|
state: restarted
|
|
|
|
|
|
|
|
- name: restart xinetd
|
|
|
|
service:
|
|
|
|
name: xinetd
|
|
|
|
state: restarted
|
|
|
|
|
|
|
|
- name: restart postfix
|
|
|
|
service:
|
|
|
|
name: postfix
|
|
|
|
state: restarted
|
|
|
|
|
|
|
|
- name: restart ntp
|
|
|
|
service:
|
|
|
|
name: ntp
|
|
|
|
state: restarted
|
|
|
|
|
|
|
|
- name: restart ssh
|
|
|
|
service:
|
|
|
|
name: ssh
|
|
|
|
state: restarted
|
|
|
|
|
|
|
|
- name: restart fail2ban
|
|
|
|
service:
|
|
|
|
name: fail2ban
|
|
|
|
state: restarted
|
|
|
|
|
|
|
|
- name: newaliases
|
|
|
|
command: newaliases
|
2021-06-29 17:48:55 -04:00
|
|
|
|
|
|
|
- name: update grub
|
|
|
|
command: update-grub
|
2022-11-01 02:23:46 -04:00
|
|
|
|
|
|
|
- name: regenerate uefi entries
|
|
|
|
shell: for entry in $(efibootmgr|awk '{print $1}'|grep -Eo '[0-9]+'); do efibootmgr -b ${entry} -B; done; grub-install /dev/$(lsblk -no pkname $(findmnt -n /boot/efi|awk '{print $2}'))
|