Skip to content

Commit

Permalink
2d fix for Stouts#159
Browse files Browse the repository at this point in the history
  • Loading branch information
ulvida committed May 16, 2020
1 parent a38d42b commit a54ed12
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 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(false, 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(false, true) | bool
and openvpn_ipv6_server is defined
3 changes: 0 additions & 3 deletions templates/server.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ port {{ openvpn_port }}

# TCP or UDP server?
proto {{ openvpn_proto }}
{% if openvpn_ipv6_enabled %}
proto {{ openvpn_proto }}6
{% endif %}

{% if openvpn_ipv6_enabled | bool %}
proto {{ openvpn_proto }}6
Expand Down

0 comments on commit a54ed12

Please sign in to comment.