summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2025-09-04 03:22:07 +0200
committerAhmed Abdelhalim <[email protected]>2025-09-04 03:22:07 +0200
commitdc323fa9d3d9623e4214b5ac39abcad235d7cf0e (patch)
tree1fc3ee0876acaf5f13254a9615d137482bb3508e /roles
parent6725e4cc8f4e91b4215813171fa06d365721abed (diff)
Refactor molecule testing to run a scenario per distro and fix ipv6
Diffstat (limited to 'roles')
-rw-r--r--roles/wireguard_gateway/tasks/main.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/roles/wireguard_gateway/tasks/main.yml b/roles/wireguard_gateway/tasks/main.yml
index f8cb1ed0..a4d187c3 100644
--- a/roles/wireguard_gateway/tasks/main.yml
+++ b/roles/wireguard_gateway/tasks/main.yml
@@ -65,6 +65,7 @@
ip_version: "ipv6"
state: "{{ 'present' if wireguard_gateway_enabled else 'absent' }}"
with_items: "{{ wireguard_connections }}"
+ failed_when: false
- name: "Add IPv6 FORWARD rule to accept traffic from local subnet"
become: true
@@ -75,6 +76,7 @@
comment: "Allow IPv6 forwarding from local subnet"
ip_version: "ipv6"
state: "{{ 'present' if wireguard_gateway_enabled else 'absent' }}"
+ failed_when: false
- name: "Add IPv6 FORWARD rule to accept established connections"
become: true
@@ -86,3 +88,4 @@
comment: "Allow IPv6 established connections"
ip_version: "ipv6"
state: "{{ 'present' if wireguard_gateway_enabled else 'absent' }}"
+ failed_when: false