playbook-initial-setup-revert.yml 342 B

12345678910111213
  1. ---
  2. - hosts: all
  3. gather_facts: no # Désactive la collecte d'informations car cela nécessite Python
  4. vars_files:
  5. - root-creds.yml
  6. tasks:
  7. - name: Uninstall sudo on Debian VMs
  8. raw: apt-get uninstall sudo
  9. become: yes
  10. become_method: su
  11. become_user: root
  12. vars:
  13. ansible_become_password: "{{ root_password }}"