声明式管理 Proxmox API 对象与 Samba DNS 上游
yaml / yaml (pull_request) Failing after 25s
terraform / validate (pull_request) Successful in 57s
ansible / collection-test (pull_request) Successful in 1m34s
ansible / lint (pull_request) Successful in 4m1s

This commit is contained in:
2026-09-17 13:18:59 +00:00
parent 76ec49ff48
commit 54dd52f0ed
17 changed files with 294 additions and 106 deletions
@@ -29,6 +29,17 @@ set protocols ospf area {{ vyos_ospf_area }} network {{ i.network }}
set protocols ospf interface {{ i.iface }} passive
{% endfor %}
{# --- K3s PostgreSQL datastore: fixed endpoint, explicitly selected primary --- #}
set load-balancing haproxy service sandbox-postgresql listen-address {{ vyos_postgresql_listen_address }}
set load-balancing haproxy service sandbox-postgresql port {{ vyos_postgresql_port }}
set load-balancing haproxy service sandbox-postgresql mode 'tcp'
set load-balancing haproxy service sandbox-postgresql backend 'sandbox-postgresql-primary'
set load-balancing haproxy backend sandbox-postgresql-primary mode 'tcp'
set load-balancing haproxy backend sandbox-postgresql-primary health-check 'pgsql'
set load-balancing haproxy backend sandbox-postgresql-primary server primary address {{ vyos_postgresql_primary_address }}
set load-balancing haproxy backend sandbox-postgresql-primary server primary port {{ vyos_postgresql_port }}
set load-balancing haproxy backend sandbox-postgresql-primary server primary check
{# --- management --- #}
set service ssh port 22