ansible/group_vars/k3s/vars.yml

22 lines
450 B
YAML
Raw Normal View History

db:
default_user:
user: "postgres"
name: "k3s"
user: "k3s"
password: "{{ vault.k3s.db.password }}"
listen_address: "{{ k3s.db.ip }}"
k3s:
net: "192.168.20.0/24"
server:
ips:
- 192.168.20.21
- 192.168.20.24
loadbalancer:
ip: 192.168.20.22
db:
ip: 192.168.20.23
default_port: "5432"
k3s_db_connection_string: "postgres://{{db.user}}:{{db.password}}@{{k3s.db.ip}}:{{k3s.db.default_port}}/{{db.name}}"