Skip to content

Commit

Permalink
Fixes not ip_forward when testing with molecule. See Stouts#159
Browse files Browse the repository at this point in the history
  • Loading branch information
ulvida committed May 15, 2020
1 parent e6ffe33 commit a38d42b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks/system/forwarding.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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(true, true) ) | bool

- name: Set IPv6 forwarding in the sysctl file and reload if necessary
sysctl:
Expand All @@ -17,5 +17,5 @@
state: present
reload: true
when:
( not lookup('env', 'IN_MOLECULE') ) | d(true, true) | bool
not ( lookup('env', 'IN_MOLECULE') | d(true, true) ) | bool
and openvpn_ipv6_server is defined

0 comments on commit a38d42b

Please sign in to comment.