summaryrefslogtreecommitdiffstats
path: root/.github
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 /.github
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 '.github')
-rw-r--r--.github/workflows/ci.yml7
1 files changed, 3 insertions, 4 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 773a8f76..5dd1c651 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -43,11 +43,10 @@ jobs:
python-version: "3.x"
- name: Install dependencies
run: pip3 install ansible molecule molecule-plugins[docker]
- - name: Copy example files
+ - name: Remove encrypted var files
run: |
- # Copy host_vars (from the .example files)
- for f in group_vars/*.example; do cp "$f" "$(echo "$f" | sed s/\.example//)"; done
- for f in host_vars/*.example; do cp "$f" "$(echo "$f" | sed s/\.example//)"; done
+ rm host_vars/*.yml
+ rm group_vars/*.yml
- name: Run
env:
PY_COLORS: 1