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