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/kubernetes/tasks/main.yml
This commit is contained in:
@ -9,6 +9,19 @@
|
|||||||
become: true
|
become: true
|
||||||
ansible.builtin.shell: |
|
ansible.builtin.shell: |
|
||||||
apt-mark hold containerd
|
apt-mark hold containerd
|
||||||
|
|
||||||
|
- name: Criar ou sobrescrever /run/flannel/subnet.env
|
||||||
|
become: true
|
||||||
|
copy:
|
||||||
|
dest: /run/flannel/subnet.env
|
||||||
|
content: |
|
||||||
|
FLANNEL_NETWORK=192.168.2.0/16
|
||||||
|
FLANNEL_SUBNET=192.168.2.1/24
|
||||||
|
FLANNEL_MTU=1450
|
||||||
|
FLANNEL_IPMASQ=true
|
||||||
|
owner: root
|
||||||
|
group: root
|
||||||
|
mode: '0644'
|
||||||
#- name: Add Kubernetes APT key
|
#- name: Add Kubernetes APT key
|
||||||
# apt_key:
|
# apt_key:
|
||||||
# url: https://packages.cloud.google.com/apt/doc/apt-key.gpg
|
# url: https://packages.cloud.google.com/apt/doc/apt-key.gpg
|
||||||
|
|||||||
Reference in New Issue
Block a user