|
|
@ -4,21 +4,21 @@
|
|
|
|
state: disabled
|
|
|
|
state: disabled
|
|
|
|
when: ansible_distribution == 'CentOS' or ansible_distribution == 'Red Hat Enterprise Linux'
|
|
|
|
when: ansible_distribution == 'CentOS' or ansible_distribution == 'Red Hat Enterprise Linux'
|
|
|
|
|
|
|
|
|
|
|
|
- name: Enable IPv4 forwarding
|
|
|
|
- name: Enable IPv4 forwarding
|
|
|
|
sysctl:
|
|
|
|
sysctl:
|
|
|
|
name: net.ipv4.ip_forward
|
|
|
|
name: net.ipv4.ip_forward
|
|
|
|
value: "1"
|
|
|
|
value: "1"
|
|
|
|
state: present
|
|
|
|
state: present
|
|
|
|
reload: yes
|
|
|
|
reload: yes
|
|
|
|
|
|
|
|
|
|
|
|
- name: Enable IPv6 forwarding
|
|
|
|
- name: Enable IPv6 forwarding
|
|
|
|
sysctl:
|
|
|
|
sysctl:
|
|
|
|
name: net.ipv6.conf.all.forwarding
|
|
|
|
name: net.ipv6.conf.all.forwarding
|
|
|
|
value: "1"
|
|
|
|
value: "1"
|
|
|
|
state: present
|
|
|
|
state: present
|
|
|
|
reload: yes
|
|
|
|
reload: yes
|
|
|
|
|
|
|
|
|
|
|
|
- name: Set bridge-nf-call-iptables (just to be sure)
|
|
|
|
- name: Set bridge-nf-call-iptables (just to be sure)
|
|
|
|
sysctl:
|
|
|
|
sysctl:
|
|
|
|
name: net.bridge.bridge-nf-call-iptables
|
|
|
|
name: net.bridge.bridge-nf-call-iptables
|
|
|
|
value: "1"
|
|
|
|
value: "1"
|
|
|
@ -26,7 +26,7 @@
|
|
|
|
reload: yes
|
|
|
|
reload: yes
|
|
|
|
when: ansible_distribution == 'CentOS' or ansible_distribution == 'Red Hat Enterprise Linux'
|
|
|
|
when: ansible_distribution == 'CentOS' or ansible_distribution == 'Red Hat Enterprise Linux'
|
|
|
|
|
|
|
|
|
|
|
|
- name: Set bridge-nf-call-ip6tables (just to be sure)
|
|
|
|
- name: Set bridge-nf-call-ip6tables (just to be sure)
|
|
|
|
sysctl:
|
|
|
|
sysctl:
|
|
|
|
name: net.bridge.bridge-nf-call-iptables
|
|
|
|
name: net.bridge.bridge-nf-call-iptables
|
|
|
|
value: "1"
|
|
|
|
value: "1"
|
|
|
|