roles/users/tasks/main.yml aktualisiert
This commit is contained in:
parent
385cf4acf2
commit
5b5888af41
1 changed files with 2 additions and 1 deletions
|
|
@ -16,9 +16,10 @@
|
|||
- name: Enable sudoers.d subdir
|
||||
ansible.builtin.lineinfile:
|
||||
path: /etc/sudoers
|
||||
state: present
|
||||
regexp: '^#includedir'
|
||||
line: 'includedir /etc/sudoers.d'
|
||||
validate: 'visudo -cf %s'
|
||||
validate: /usr/sbin/visudo -cf %s
|
||||
|
||||
- name: Ensure user "rulrich" exists
|
||||
ansible.builtin.user:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue