summaryrefslogtreecommitdiffstats
path: root/roles/wireguard
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2025-09-14 02:05:30 +0200
committerAhmed Abdelhalim <[email protected]>2025-09-14 02:11:03 +0200
commit671c9d6b0811e7d269816d1423735abb6bd205b2 (patch)
treec3870ebee5238457c077f9c6368d76006b38c867 /roles/wireguard
parentda087b6ce1474decc9e9364f4b9a4d538b84227e (diff)
Put back the idempotent ignore test
The idempotent test is only failing on the second run, the reason is, on the first run the wireguard files are created with default permissions, then the wg_portal role update the ACL. On the second run, the wireguard role recognizes the difference in the permissions, and update the files (expectedly), the default ACL then takes place and set the permissions correctly with ACLs On any successive run, the role is idempotent and doesn't update the files again.
Diffstat (limited to 'roles/wireguard')
-rw-r--r--roles/wireguard/tasks/main.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/roles/wireguard/tasks/main.yml b/roles/wireguard/tasks/main.yml
index e8680933..27a2f864 100644
--- a/roles/wireguard/tasks/main.yml
+++ b/roles/wireguard/tasks/main.yml
@@ -19,6 +19,8 @@
backup: true
with_items: "{{ wireguard_connections.keys() }}"
when: wireguard_connections | length > 0
+ tags:
+ - molecule-idempotence-notest
- name: "Configure autostart connection"
become: true