IPv6 forwarding fixes (#1256)

pull/1261/head
Jack Ivanov 6 years ago committed by GitHub
parent a6cd89564d
commit 955a986c21
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -21,7 +21,7 @@
sysctl:
- item: net.inet.ip.forwarding
value: 1
- item: net.inet6.ip6.forwarding
- item: "{{ 'net.inet6.ip6.forwarding' if ipv6_support else none }}"
value: 1
tags:
- always

@ -15,6 +15,7 @@
- name: Sysctl tuning
sysctl: name="{{ item.item }}" value="{{ item.value }}"
when: item.item != ""
with_items:
- "{{ sysctl|default([]) }}"
tags:

@ -114,7 +114,7 @@
value: 1
- item: net.ipv4.conf.all.forwarding
value: 1
- item: net.ipv6.conf.all.forwarding
- item: "{{ 'net.ipv6.conf.all.forwarding' if ipv6_support else none }}"
value: 1
tags:
- always

Loading…
Cancel
Save