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). --- .github/workflows/ci.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to '.github') 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 -- cgit v1.2.3