vn-ansible/roles/debian-base/handlers/main.yml

27 lines
596 B
YAML
Raw Normal View History

2024-10-16 15:53:15 +00:00
- name: restart systemd-timesyncd
systemd:
name: systemd-timesyncd
state: restarted
- name: restart-ssh
systemd:
name: ssh
state: restarted
- name: restart fail2ban
systemd:
name: fail2ban
state: restarted
- name: restart-nrpe
systemd:
name: nagios-nrpe-server
state: restarted
- name: restart sshd
systemd:
name: sshd
state: restarted
- name: generate locales
command: /usr/sbin/locale-gen
- name: reconfigure tzdata
command: dpkg-reconfigure -f noninteractive tzdata
- name: update exim configuration
command: /usr/sbin/update-exim4.conf