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