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

@ -5,6 +5,10 @@
password: "{{ _pwd | password_hash('sha512', common_user_password_salt) }}"
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:
@ -25,6 +29,7 @@
- wget
- python3
- figlet
- sshfs
- name: Activation nftables
service: