From f93dd15e52140d8e2fb5462ed009a954f1885572 Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Wed, 20 Aug 2025 23:37:21 +0200 Subject: Add wireguard role and fix testing The testing was failing because the use of the example files with the same domain names, resulted in the files and the molecule variable were being merged and therefore running tasks that would fail on test (example, setting a fake VPN connection that wouldn't start). --- group_vars/all.yml.example | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'group_vars/all.yml.example') diff --git a/group_vars/all.yml.example b/group_vars/all.yml.example index f7802c0d..8e556313 100644 --- a/group_vars/all.yml.example +++ b/group_vars/all.yml.example @@ -33,3 +33,16 @@ python_global_version: "system" python_versions: - "3.11" - "3.13" + +wireguard_autostart_connection: "protonvpn-us-1" +wireguard_connections: + protonvpn-us-1: | + [Interface] + PrivateKey = your_private_key_here + Address = 10.2.0.2/32 + DNS = 10.2.0.1 + + [Peer] + PublicKey = server_public_key + AllowedIPs = 0.0.0.0/0 + Endpoint = us-1.protonvpn.com:51820 -- cgit v1.2.3