mirror of
https://gitea.fenix-dev.com/fenix-gitea-admin/iac-ansible-private.git
synced 2025-10-27 00:33:16 +00:00
Compare commits
3 Commits
880c7b23f1
...
feefc19d09
| Author | SHA1 | Date | |
|---|---|---|---|
| feefc19d09 | |||
| 3c990702ed | |||
| 55ac95fc90 |
@ -40,12 +40,12 @@
|
||||
debug:
|
||||
var: flannel_manifest.stdout
|
||||
|
||||
- name: Adicionar --iface=eth1 ao flanneld
|
||||
- name: Adicionar --iface=eth0 ao flanneld
|
||||
become: true
|
||||
ansible.builtin.lineinfile:
|
||||
path: /tmp/kube-flannel.yml
|
||||
insertafter: ' - --kube-subnet-mgr'
|
||||
line: ' - --iface=eth1'
|
||||
line: ' - --iface=eth0'
|
||||
|
||||
|
||||
|
||||
|
||||
@ -14,7 +14,7 @@ for doc in docs:
|
||||
"Backend": {
|
||||
"Type": "vxlan"
|
||||
},
|
||||
"Interface": "eth1"
|
||||
"Interface": "eth0"
|
||||
}'''
|
||||
|
||||
with open("/tmp/kube-flannel.yml", "w") as f:
|
||||
|
||||
Reference in New Issue
Block a user