Compare commits
2 Commits
d4eee168fa
...
cc1a43322e
Author | SHA1 | Date |
---|---|---|
Ricard Illa | cc1a43322e | |
Ricard Illa | f01821b3a9 |
|
@ -27,6 +27,14 @@
|
|||
password = "{{ nut_upsmon_password }}"
|
||||
upsmon {{ nut_types[nut_mode] }}
|
||||
|
||||
- name: allow NUT to listen to all IPs
|
||||
blockinfile:
|
||||
path: /etc/nut/upsd.conf
|
||||
block: |
|
||||
LISTEN 0.0.0.0
|
||||
LISTEN ::1
|
||||
when: nut_mode == "netserver"
|
||||
|
||||
- name: start and enable nut-upsd
|
||||
service:
|
||||
name: nut-upsd
|
||||
|
|
Loading…
Reference in New Issue