linuxinstaller/ansible/ajoute-sudoer.yml
2024-10-27 14:53:22 +01:00

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