Fix(nut): restart services and ups name

This commit is contained in:
Bertrand Benjamin 2023-03-22 05:50:01 +01:00
parent 9a2da18f13
commit 44a0900265
3 changed files with 7 additions and 2 deletions

View File

@ -4,3 +4,8 @@
service:
name: nut-server
state: restarted
- name: restart nut-monitor
service:
name: nut-monitor
state: restarted

View File

@ -58,4 +58,4 @@
owner: root
group: root
mode: 0644
notify: restart nut-server
notify: restart nut-monitor

View File

@ -28,7 +28,7 @@ upss:
desc: "UPS bureau"
upsmon_servers:
- ups_name: fooUPS
- ups_name: eaton650
address: localhost
user: upsmonitor
password: "{{ ups_user_password }}"