roles/users/tasks/main.yml aktualisiert
This commit is contained in:
parent
dfee91fc3e
commit
d956809149
1 changed files with 2 additions and 3 deletions
|
|
@ -14,9 +14,8 @@
|
|||
mode: '0440'
|
||||
|
||||
- name: Enable sudoers.d subdir
|
||||
lineinfile:
|
||||
dest: /etc/sudoers
|
||||
state: present
|
||||
ansible.builtin.lineinfile:
|
||||
path: /etc/sudoers
|
||||
regexp: '^#includedir /etc/sudoers.d'
|
||||
line: 'includedir /etc/sudoers.d'
|
||||
validate: 'visudo -cf %s'
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue