From 9ec969d3e9cece8bc95accb502d1f5b2218a11ba Mon Sep 17 00:00:00 2001 From: santiagomr Date: Tue, 19 May 2020 12:42:26 -0300 Subject: [PATCH] Fix #159 IP forwarding when deploying --- tasks/system/forwarding.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/system/forwarding.yml b/tasks/system/forwarding.yml index 8d1a73a..21df49e 100644 --- a/tasks/system/forwarding.yml +++ b/tasks/system/forwarding.yml @@ -7,7 +7,7 @@ sysctl_set: true state: present reload: true - when: not lookup('env', 'IN_MOLECULE') | d(true, true) | bool + when: not lookup('env', 'IN_MOLECULE') | d(false, true) | bool - name: Set IPv6 forwarding in the sysctl file and reload if necessary sysctl: @@ -17,5 +17,5 @@ state: present reload: true when: - not lookup('env', 'IN_MOLECULE') | d(true, true) | bool + not lookup('env', 'IN_MOLECULE') | d(false, true) | bool and openvpn_ipv6_server is defined