- name: Supprime sudoer hosts: localhost tasks: - name: Retire sudo pour {{ username }} ansible.builtin.command: "usermod -r -G sudo {{ username }}"