mirror of
https://gitea.fenix-dev.com/fenix-gitea-admin/iac-ansible-private.git
synced 2025-10-27 08:43:05 +00:00
Update roles/kube-master/tasks/main.yml
This commit is contained in:
@ -61,7 +61,7 @@
|
|||||||
- name: Injeta configuração defensiva no ConfigMap
|
- name: Injeta configuração defensiva no ConfigMap
|
||||||
ansible.builtin.replace:
|
ansible.builtin.replace:
|
||||||
path: /tmp/kube-flannel.yml
|
path: /tmp/kube-flannel.yml
|
||||||
regexp: 'net-conf.json: \|[\s\S]+?\n\s+\}'
|
regexp: 'net-conf.json: \|(\n[ ]{4,}.*)+?\n[ ]{2,}\}'
|
||||||
replace: |
|
replace: |
|
||||||
net-conf.json: |
|
net-conf.json: |
|
||||||
{
|
{
|
||||||
@ -70,7 +70,7 @@
|
|||||||
"Type": "vxlan"
|
"Type": "vxlan"
|
||||||
},
|
},
|
||||||
"Interface": "eth1"
|
"Interface": "eth1"
|
||||||
|
}
|
||||||
|
|
||||||
- name: cat flannel
|
- name: cat flannel
|
||||||
shell: |
|
shell: |
|
||||||
|
|||||||
Reference in New Issue
Block a user