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

@ -1,7 +1,8 @@
---
- name: Install wireguard
- name: Install additional teacherlaptop packages
apt:
name:
- plasma-discover
- wireguard
#- krb5-auth-dialog
state: latest
@ -43,3 +44,6 @@
%role-teacher ALL=(root) NOPASSWD: /usr/bin/apt
%role-teacher ALL=(root) NOPASSWD: /usr/sbin/cryptsetup
%role-teacher ALL=(root) NOPASSWD: /usr/local/bin/mountserver
- name: Configure Wireguard
ansible.builtin.include_tasks: wg_config.yml