mirror of
https://gitea.fenix-dev.com/fenix-gitea-admin/iac-ansible-private.git
synced 2025-12-16 11:27:10 +00:00
list packages corrected
This commit is contained in:
@ -13,7 +13,6 @@
|
||||
reboot_timeout: 600 # tempo máximo para o host voltar (segundos)
|
||||
test_command: whoami # comando usado para validar que o host voltou
|
||||
|
||||
|
||||
- name: Adicionar chave GPG da NVIDIA
|
||||
become: yes
|
||||
become_user: fenix
|
||||
@ -22,9 +21,6 @@
|
||||
args:
|
||||
creates: /usr/share/keyrings/nvidia-container-toolkit.gpg
|
||||
|
||||
|
||||
|
||||
|
||||
- name: Adicionar repositório NVIDIA
|
||||
become: yes
|
||||
ansible.builtin.shell: |
|
||||
@ -35,11 +31,6 @@
|
||||
args:
|
||||
creates: /etc/apt/sources.list.d/nvidia-container-toolkit.list
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
- name: Atualizar cache de pacotes
|
||||
become: yes
|
||||
ansible.builtin.apt:
|
||||
@ -52,6 +43,11 @@
|
||||
state: present
|
||||
|
||||
|
||||
- name: Recolher lista de pacotes instalados
|
||||
become: yes
|
||||
ansible.builtin.package_facts:
|
||||
manager: apt
|
||||
|
||||
- name: Configurar runtime Docker
|
||||
become: yes
|
||||
ansible.builtin.shell: |
|
||||
|
||||
Reference in New Issue
Block a user