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,14 +1,13 @@
|
||||
- name: Adicionar chave GPG do repositório
|
||||
- name: Importar chave GPG do repositório CRI-O
|
||||
become: yes
|
||||
ansible.builtin.get_url:
|
||||
apt_key:
|
||||
url: "https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_22.04/Release.key"
|
||||
dest: "/usr/share/keyrings/libcontainers-archive-keyring.gpg"
|
||||
mode: '0644'
|
||||
state: present
|
||||
|
||||
- name: Adicionar repositório do CRI-O
|
||||
become: yes
|
||||
apt_repository:
|
||||
repo: "deb [signed-by=/usr/share/keyrings/libcontainers-archive-keyring.gpg] https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_22.04/ /"
|
||||
repo: "deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_22.04/ /"
|
||||
state: present
|
||||
filename: "cri-o"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user