summaryrefslogtreecommitdiffstats
path: root/group_vars
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2025-08-20 23:37:21 +0200
committerAhmed Abdelhalim <[email protected]>2025-08-21 00:46:50 +0200
commitf93dd15e52140d8e2fb5462ed009a954f1885572 (patch)
tree96bb58b08b54997669e6a9c415a53a7f4d1bd277 /group_vars
parent36ec6f1a3961abbbb41495dd4d141871f6675fea (diff)
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).
Diffstat (limited to 'group_vars')
-rw-r--r--group_vars/all.ymlbin443 -> 1661 bytes
-rw-r--r--group_vars/all.yml.example13
2 files changed, 13 insertions, 0 deletions
diff --git a/group_vars/all.yml b/group_vars/all.yml
index 88aec57b..f72ba941 100644
--- a/group_vars/all.yml
+++ b/group_vars/all.yml
Binary files differ
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