mirror of
https://gitea.fenix-dev.com/fenix-gitea-admin/iac-ansible-private.git
synced 2025-10-27 08:43:05 +00:00
Compare commits
3 Commits
880c7b23f1
...
feefc19d09
| Author | SHA1 | Date | |
|---|---|---|---|
| feefc19d09 | |||
| 3c990702ed | |||
| 55ac95fc90 |
@ -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'
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user