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