We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4315856 + 15f5e0c commit 9b9f90fCopy full SHA for 9b9f90f
templates/var/lib/ansible/playbooks/scaleup.yml
@@ -16,6 +16,14 @@ cat << 'EOF' > /var/lib/os-apply-config/templates/var/lib/ansible/playbooks/scal
16
shell: iptables -A DOCKER -p tcp -j ACCEPT
17
when: openshift_use_flannel
18
19
+ - name: Set up masquerading on flannel interface
20
+ shell: iptables -t nat -A POSTROUTING -o {{ flannel_interface }} -j MASQUERADE
21
+ when: openshift_use_flannel
22
+
23
+ - name: Make iptables rule permanent
24
+ shell: /usr/libexec/iptables/iptables.init save
25
26
27
- hosts: new_nodes
28
sudo: yes
29
tasks:
0 commit comments