mirror of
https://gitea.fenix-dev.com/fenix-gitea-admin/iac-ansible-private.git
synced 2025-10-27 16:53:04 +00:00
Update roles/kube-master/tasks/main.yml
This commit is contained in:
@ -58,19 +58,11 @@
|
|||||||
regexp: '10\.244\.0\.0/16'
|
regexp: '10\.244\.0\.0/16'
|
||||||
replace: '192.168.3.0/16'
|
replace: '192.168.3.0/16'
|
||||||
|
|
||||||
- name: Injeta configuração defensiva no ConfigMap
|
|
||||||
ansible.builtin.replace:
|
- name: Corrigir net-conf.json no manifest do Flannel
|
||||||
path: /tmp/kube-flannel.yml
|
ansible.builtin.script:
|
||||||
regexp: 'net-conf.json: \|(\n[ ]{4,}.*)+?\n[ ]{2,}\}'
|
cmd: patch_netconf.py
|
||||||
replace: |
|
|
||||||
net-conf.json: |
|
|
||||||
{
|
|
||||||
"Network": "192.168.3.0/16",
|
|
||||||
"Backend": {
|
|
||||||
"Type": "vxlan"
|
|
||||||
},
|
|
||||||
"Interface": "eth1"
|
|
||||||
}
|
|
||||||
|
|
||||||
- name: cat flannel
|
- name: cat flannel
|
||||||
shell: |
|
shell: |
|
||||||
|
|||||||
Reference in New Issue
Block a user