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