5 lines
163 B
YAML
5 lines
163 B
YAML
- name: Supprime sudoer
|
|
hosts: localhost
|
|
tasks:
|
|
- name: Retire sudo pour {{ username }}
|
|
ansible.builtin.command: "usermod -r -G sudo {{ username }}"
|