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:
@ -1,8 +1,24 @@
|
|||||||
- name: Install containerd
|
- name: Instalar CRI-O
|
||||||
apt:
|
dnf:
|
||||||
name: containerd
|
name:
|
||||||
|
- cri-o
|
||||||
|
- cri-tools
|
||||||
state: present
|
state: present
|
||||||
update_cache: no
|
|
||||||
|
- name: Ativar CRI-O
|
||||||
|
systemd:
|
||||||
|
name: crio
|
||||||
|
enabled: true
|
||||||
|
state: started
|
||||||
|
|
||||||
|
- name: Configurar crictl para CRI-O
|
||||||
|
copy:
|
||||||
|
dest: /etc/crictl.yaml
|
||||||
|
content: |
|
||||||
|
runtime-endpoint: unix:///var/run/crio/crio.sock
|
||||||
|
image-endpoint: unix:///var/run/crio/crio.sock
|
||||||
|
timeout: 10
|
||||||
|
debug: false
|
||||||
|
|
||||||
- name: Hold Kubernetes packages
|
- name: Hold Kubernetes packages
|
||||||
ansible.builtin.shell: |
|
ansible.builtin.shell: |
|
||||||
|
|||||||
Reference in New Issue
Block a user