Feat(nut): configure ups, upsmon, upsd et nut

This commit is contained in:
2023-02-18 19:46:35 +01:00
parent 558530e16e
commit 051a1cad9d
9 changed files with 103 additions and 2 deletions

View File

@@ -14,14 +14,26 @@ pihole_ip: 192.168.2.202
# Nut
nut_mode: "netserver"
upsd_users:
- name: upsmonitor
password: "{{ ups_user_password }}"
type: master
upss:
- name: eaton650
driver: usbhid-ups
port: auto
vendorid: "0463"
poductid: "FFFF"
productid: "FFFF"
desc: "UPS bureau"
upsmon_servers:
- ups_name: fooUPS
address: localhost
user: upsmonitor
password: "{{ ups_user_password }}"
type: "master"
# minidlna
minidlna_friendly_name: "Nas dlna"
minidlna_media_dir: /mnt/DocNas/Commun/musique/

7
vars/nas_secrets.yml Normal file
View File

@@ -0,0 +1,7 @@
$ANSIBLE_VAULT;1.1;AES256
62323338353830396465343361333965643662633066633137313939363934353430633662336134
6265363735393134646561333137376430646362303264370a353861636430613264336238306439
65343362323638333736363164333665393965363539643463663936656239396438663139393862
6435396666663066620a386665313135613863616437386433616662396638646265663465633834
38346436383033613338393536326536393230633866666565393137333430623839623965623761
3934636264626337653762386531353861633338343364643335