vn-ansible/roles/config-base-debian-os/handlers/main.yaml

20 lines
419 B
YAML
Raw Normal View History

2023-10-16 11:48:20 +00:00
---
# restart exim4 service to apply changes
- name: restart exim4
2023-10-16 09:10:49 +00:00
service:
2023-10-16 11:48:20 +00:00
name: "{{ exim_daemon }}"
2023-10-16 09:10:49 +00:00
state: restarted
2023-10-17 09:57:10 +00:00
# restart nslcd service to apply changes
- name: restart nslcd
service:
name: "{{ nslcd_daemon }}"
2023-10-26 11:40:11 +00:00
state: restarted
# update grub
- name: grub register
2023-10-27 09:52:09 +00:00
command: update-grub
# update timezone
- name: update timezone
command: dpkg-reconfigure --frontend noninteractive tzdata