Fix(nut): restart services and ups name
This commit is contained in:
parent
9a2da18f13
commit
44a0900265
|
@ -4,3 +4,8 @@
|
|||
service:
|
||||
name: nut-server
|
||||
state: restarted
|
||||
|
||||
- name: restart nut-monitor
|
||||
service:
|
||||
name: nut-monitor
|
||||
state: restarted
|
||||
|
|
|
@ -58,4 +58,4 @@
|
|||
owner: root
|
||||
group: root
|
||||
mode: 0644
|
||||
notify: restart nut-server
|
||||
notify: restart nut-monitor
|
||||
|
|
|
@ -28,7 +28,7 @@ upss:
|
|||
desc: "UPS bureau"
|
||||
|
||||
upsmon_servers:
|
||||
- ups_name: fooUPS
|
||||
- ups_name: eaton650
|
||||
address: localhost
|
||||
user: upsmonitor
|
||||
password: "{{ ups_user_password }}"
|
||||
|
|
Loading…
Reference in New Issue