nut and acme working
This commit is contained in:
@ -1,2 +1,3 @@
|
||||
nut_client_admin_username: nut-admin
|
||||
nut_client_primary_username: nut-primary
|
||||
nut_client_secondary_username: nut-secondary
|
||||
|
@ -1 +1 @@
|
||||
acme_certifcate_account_email: acme.hv00@balsillie.email
|
||||
acme_certificate_account_email: acme.hv00@balsillie.email
|
@ -3,6 +3,7 @@ nut_client_shutdown_cmd: /usr/bin/poweroff
|
||||
nut_client_shutdown_exit: "true"
|
||||
nut_client_hostsync: 120
|
||||
nut_client_notify_cmd: /scripts/notify.sh
|
||||
nut_client_min_supplies: 1
|
||||
nut_client_ups_devices:
|
||||
- name: ups0
|
||||
host: hv00.balsillie.house
|
||||
@ -10,5 +11,27 @@ nut_client_ups_devices:
|
||||
port: 3493
|
||||
powervalue: 1
|
||||
nut_client_notify_flags:
|
||||
- name: ONLINE
|
||||
flags: SYSLOG+WALL+EXEC
|
||||
- name: ONBATT
|
||||
flags: SYSLOG+WALL+EXEC
|
||||
- name: LOWBATT
|
||||
flags: SYSLOG+WALL+EXEC
|
||||
- name: FSD
|
||||
flags: SYSLOG+WALL+EXEC
|
||||
- name: COMMOK
|
||||
flags: SYSLOG+WALL+EXEC
|
||||
- name: COMMBAD
|
||||
flags: SYSLOG+WALL+EXEC
|
||||
- name: SHUTDOWN
|
||||
flags: EXEC
|
||||
flags: SYSLOG+WALL+EXEC
|
||||
- name: REPLBATT
|
||||
flags: SYSLOG+WALL+EXEC
|
||||
- name: NOCOMM
|
||||
flags: SYSLOG+WALL+EXEC
|
||||
- name: NOPARENT
|
||||
flags: SYSLOG+WALL+EXEC
|
||||
- name: BYPASS
|
||||
flags: SYSLOG+WALL+EXEC
|
||||
- name: NOTBYPASS
|
||||
flags: SYSLOG+WALL+EXEC
|
||||
|
@ -1,6 +1,6 @@
|
||||
nut_server_listen_address: 10.192.110.100
|
||||
nut_server_listen_port: 3493
|
||||
|
||||
nut_server_certificate_file: /etc/ssl/private/hv00.balsillie.house.plain.combined.pem
|
||||
nut_server_ups_devices:
|
||||
- name: ups0
|
||||
driver: usbhid-ups
|
||||
|
@ -1 +1 @@
|
||||
acme_certifcate_account_email: acme.kube00@balsillie.email
|
||||
acme_certificate_account_email: acme.kube00@balsillie.email
|
@ -1,4 +1,9 @@
|
||||
---
|
||||
ansible_host: kube01.balsillie.net
|
||||
ssh_public_key_string: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGtk+mk1+J3sZ3CA/yS7XV2wH913IdJj0gznmb/nI2nV ladmin@kube01.balsillie.net
|
||||
k8s_remove_control_plane_taint: true
|
||||
ansible_connection: ssh
|
||||
ansible_host: kube00.balsillie.house
|
||||
ansible_fqdn: kube00.balsillie.house
|
||||
ansible_remote_addr: 10.192.110.110
|
||||
ansible_port: 22
|
||||
ansible_user: ladmin
|
||||
ansible_become_user: root
|
||||
ansible_become_method: sudo
|
||||
static_fqdn: hv00.balsillie.house
|
@ -1,8 +1,15 @@
|
||||
nut_client_local_server: false
|
||||
|
||||
nut_client_server_list:
|
||||
- host: hv00.balsillie.house
|
||||
nut_client_shutdown_cmd: /scripts/shutdown.sh
|
||||
nut_client_shutdown_exit: "false"
|
||||
nut_client_hostsync: 15
|
||||
nut_client_notify_cmd: /scripts/notify.sh
|
||||
nut_client_min_supplies: 1
|
||||
nut_client_ups_devices:
|
||||
- name: ups0
|
||||
host: hv00.balsillie.house
|
||||
type: secondary
|
||||
port: 3493
|
||||
ssl: true
|
||||
username: "{{ nut_client_username }}"
|
||||
password: "{{ nut_client_password }}"
|
||||
powervalue: 1
|
||||
nut_client_notify_flags:
|
||||
- name: SHUTDOWN
|
||||
flags: SYSLOG+WALL+EXEC
|
Reference in New Issue
Block a user