--- # Stand up the node-level VPN egress tunnel on the designated egress-gateway node(s) # (ADR-0015). Host infra — the split-tunnel OpenVPN service + policy routing + scoped # nftables kill-switch. The CiliumEgressGatewayPolicy that steers vpn-class pods to this # node's tun0 is authored separately as GitOps (platform/), against the same contract: # * inventory group `vpn_egress_gateway` (this play's target) # * k8s node label homelab.keithjackson.dev/egress-gateway=true (set by the role) # * host tunnel iface tun0 (split-tunnel; never the node default route) # # Secrets come from Ansible vault (inventory/group_vars/vpn_egress_gateway/vault.yml): # vault_vpn_egress_gateway_pia_username, vault_vpn_egress_gateway_pia_password, vault_vpn_egress_gateway_pia_ovpn # Run: ansible-playbook playbooks/vpn.egress.gateway.yml - name: Configure the node-level VPN egress gateway hosts: vpn_egress_gateway become: true gather_facts: true # package module + service facts need os facts roles: - role: vpn_egress_gateway