--- - hosts: all gather_facts: no # Désactive la collecte d'informations car cela nécessite Python vars_files: - root-creds.yml tasks: - name: Install sudo on Debian VMs raw: apt-get update && apt-get install -y sudo become: yes become_method: su become_user: root vars: ansible_become_password: "{{ root_password }}"