`upsmon` is the component of [NUT] that monitors (local or remote) UPS devices and reacts to changes in their state. Notably, it is responsible for powering down the system when there is insufficient power to the system.
59 lines
1.5 KiB
YAML
59 lines
1.5 KiB
YAML
storage_net_address: fd68:c2d2:500e:3ea3:8d5f:c3b0:a73c:55d6/64
|
|
|
|
networkd_networks:
|
|
- name: 30-enp5s0
|
|
Match:
|
|
Name: enp5s0
|
|
Network:
|
|
Address: 172.30.0.19/26
|
|
Gateway: 172.30.0.1
|
|
DNS: 172.30.0.1
|
|
|
|
- name: 35-enp6s0f0
|
|
Match:
|
|
Name: enp6s0f0
|
|
Network:
|
|
Description: Storage NIC bonded port 0
|
|
Bond: bond1
|
|
DHCP: 'no'
|
|
LinkLocalAddressing: 'no'
|
|
- name: 35-enp6s0f1
|
|
Match:
|
|
Name: enp6s0f1
|
|
Network:
|
|
Description: Storage NIC bonded port 0
|
|
Bond: bond1
|
|
DHCP: 'no'
|
|
LinkLocalAddressing: 'no'
|
|
|
|
- name: 35-enp7s0f0
|
|
Match:
|
|
Name: enp7s0f0
|
|
Network:
|
|
Description: VM NIC bonded port 0
|
|
Bond: bond0
|
|
DHCP: 'no'
|
|
LinkLocalAddressing: 'no'
|
|
- name: 35-enp7s0f1
|
|
Match:
|
|
Name: enp7s0f1
|
|
Network:
|
|
Description: VM NIC bonded port 1
|
|
Bond: bond0
|
|
DHCP: 'no'
|
|
LinkLocalAddressing: 'no'
|
|
|
|
samba_interfaces:
|
|
- enp5s0
|
|
|
|
# Start shutting down the second VM host as soon as we lose the first UPS
|
|
nut_monitor_minsupplies: 2
|
|
nut_monitor_password: !vault |
|
|
$ANSIBLE_VAULT;1.1;AES256
|
|
63386530636535613663666261393132346564613365613866353638316164386365383831363439
|
|
6437373831346664333965633936666437366338363034640a353532626531326639393938643463
|
|
33386261386430396639333961323864633030383232353063376264396332333162616336643739
|
|
6234323164393336620a396532313963353733663661393662313731363466316138633835386630
|
|
34653731336331653535333465393934323738613534643934346238646461323363363336326337
|
|
3937303465623136343730333033313766633863666539363462
|