Compare commits

..

3 Commits

2 changed files with 3 additions and 3 deletions

View File

@ -40,12 +40,12 @@
debug: debug:
var: flannel_manifest.stdout var: flannel_manifest.stdout
- name: Adicionar --iface=eth1 ao flanneld - name: Adicionar --iface=eth0 ao flanneld
become: true become: true
ansible.builtin.lineinfile: ansible.builtin.lineinfile:
path: /tmp/kube-flannel.yml path: /tmp/kube-flannel.yml
insertafter: ' - --kube-subnet-mgr' insertafter: ' - --kube-subnet-mgr'
line: ' - --iface=eth1' line: ' - --iface=eth0'

View File

@ -14,7 +14,7 @@ for doc in docs:
"Backend": { "Backend": {
"Type": "vxlan" "Type": "vxlan"
}, },
"Interface": "eth1" "Interface": "eth0"
}''' }'''
with open("/tmp/kube-flannel.yml", "w") as f: with open("/tmp/kube-flannel.yml", "w") as f: