Wireguard client and WLAN-SSID-Config.

NetworkManager wireguard VPN-config will be created and updated.
Split configuration of WLAN-SSID in inventory (SSID) and vault (secret).
This commit is contained in:
Raphael Dannecker 2024-06-11 13:25:34 +02:00
parent 450ca22441
commit 9c068dd915
6 changed files with 448 additions and 280 deletions

View file

@ -73,6 +73,13 @@
- debconf-utils
extra_pkgs_bpo: [] # [ linux-image-amd64 ]
# Wireguad config
wg_endpoint: "{{ vault_wg_endpoint }}"
wg_allowed_ips: "{{ vault_wg_allowed_ips }}"
wg_ip_cdr: "{{ vault_wg_ip_cdr }}"
wg_dns: "{{ vault_wg_dns }}"
wg_dns_search: "{{ vault_wg_dns_search }}"
roles:
- lmn_network
- role: up2date_debian
@ -354,8 +361,7 @@
become: yes
vars_files: lmn-vault
vars:
ssid: "{{ vault_ssid }}"
wifipasswd: "{{ vault_wifipasswd }}"
wifipasswd: "{{ vault_wifipasswd[ssid] }}"
localuser: "{{ vault_localuser }}"
localuser_pwd: "{{ vault_localuser_pwd }}"
roles: