b2a60340c2
Without this there may not be a gateway configured after the control plane nodes are provisioned, meaning they cannot access the outside world.
12 lines
259 B
YAML
12 lines
259 B
YAML
---
|
|
# Enable SNAT using iptables.
|
|
|
|
- name: Ensure SNAT is configured
|
|
hosts: seed:controllers
|
|
vars:
|
|
snat_rules:
|
|
- interface: "{{ ansible_default_ipv4.interface }}"
|
|
source_ip: "{{ ansible_default_ipv4.address }}"
|
|
roles:
|
|
- role: snat
|