linuxinstaller/ansible/ajoute-sudoer.yml
2024-10-19 19:10:07 +02:00

10 lines
200 B
YAML

- name: Ajoute sudoer
hosts: localhost
tasks:
- name: Configure sudo pour {{ username }}
ansible.builtin.user:
name: "{{ username }}"
groups: sudo
append: true