Ajout d'étape apt-get update

This commit is contained in:
Navas 2023-07-23 21:20:48 +02:00
parent 7efb297823
commit 131cd69f1a
1 changed files with 5 additions and 0 deletions

View File

@ -6,6 +6,10 @@
vars:
_pwd: "{{ common_rootpassword }}"
- name: Run the equivalent of "apt-get update" as a separate step
ansible.builtin.apt:
update_cache: yes
- name: installe paquets
package:
state: present
@ -25,6 +29,7 @@
- wget
- python3
- figlet
- sshfs
- name: Activation nftables
service: