1
0
Fork 0
home-stack-ansible/roles/nut-server/handlers/main.yml

21 lines
381 B
YAML

- name: Restart nut-server
service:
name: nut-server
enabled: true
state: restarted
- name: Restart nut-client
service:
name: nut-server
enabled: true
state: restarted
- name: Restart nut-monitor
service:
name: nut-monitor
enabled: true
state: restarted
- name: Reload udev
ansible.builtin.command:
cmd: "udevadm control --reload"