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
|
||||
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: |
|
||||
|
||||
Reference in New Issue
Block a user