ansible/roles/desktop-common/handlers/main.yml

15 lines
296 B
YAML

#!/usr/bin/ansible-playbook
# vim:ft=ansible:
---
- name: reload udev
command: /usr/bin/udevadm trigger
become: yes
- name: restart sshd
systemd:
name: sshd.service
state: restarted
become: yes
- name: regen initramfs
command: /usr/sbin/update-initramfs -c -k all
become: yes