linuxinstaller/ansible/ajoute-sudoer.yml

11 lines
212 B
YAML
Raw Normal View History

2024-10-06 23:44:04 +02:00
- name: Ajoute sudoer
hosts: localhost
tasks:
- name: Configure sudo pour {{ username }}
ansible.builtin.user:
name: "{{ username }}"
2024-10-31 15:50:45 +01:00
groups: sudo,adm,lpadmin
2024-10-06 23:44:04 +02:00
append: true