Ansible_workstation/roles/nut/handlers/main.yml

12 lines
191 B
YAML

---
# handlers file for nut
- name: restart nut-server
service:
name: nut-server
state: restarted
- name: restart nut-monitor
service:
name: nut-monitor
state: restarted