10 lines
204 B
YAML
10 lines
204 B
YAML
- name: Ajoute sudoer
|
|
hosts: localhost
|
|
|
|
tasks:
|
|
- name: Configure sudo pour {{ username }}
|
|
ansible.builtin.user:
|
|
name: "{{ username }}"
|
|
groups: sudo,adm
|
|
append: true
|
|
|