Update roles/kube-master/tasks/main.yml

This commit is contained in:
2025-10-15 19:28:37 +00:00
parent ce4b38be08
commit fd1f7c5634

View File

@ -61,7 +61,7 @@
- name: Injeta configuração defensiva no ConfigMap
ansible.builtin.replace:
path: /tmp/kube-flannel.yml
regexp: 'net-conf.json: \|[\s\S]+?\n\s+\}'
regexp: 'net-conf.json: \|(\n[ ]{4,}.*)+?\n[ ]{2,}\}'
replace: |
net-conf.json: |
{
@ -70,7 +70,7 @@
"Type": "vxlan"
},
"Interface": "eth1"
}
- name: cat flannel
shell: |