ansible/roles/common/handlers/main.yml

9 lines
240 B
YAML

#!/usr/bin/env ansible-playbook
# vim:ft=ansible:
- name: restart cron
ansible.builtin.service: name=cron state=restarted
become: yes
- name: regen initramfs
ansible.builtin.command: /usr/sbin/update-initramfs -c -k all
become: yes