pull/260/head
Jack Ivanov 7 years ago
parent d271b60b6a
commit e31f10da6d

@ -51,7 +51,7 @@
do_access_token: "{{ do_access_token }}"
do_droplet_id: "{{ do.droplet.id }}"
cloud_provider: digitalocean
ipv6_support: yes
ipv6_support: true
- set_fact:
cloud_instance_ip: "{{ do.droplet.ip_address }}"

@ -46,9 +46,8 @@
- name: Configure ip6tables so IPSec traffic can traverse the tunnel
iptables: ip_version=ipv6 table=nat chain=POSTROUTING source="{{ vpn_network_ipv6 }}" jump=MASQUERADE
when: ((security_enabled is not defined) or
(security_enabled is defined and security_enabled != "y")) and
ipv6_support is defined and ipv6_support == "yes"
when: ((security_enabled is not defined) or (security_enabled is defined and security_enabled != "y")) and
(ipv6_support is defined and ipv6_support == true)
notify:
- save iptables

Loading…
Cancel
Save