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'
|
mode: '0440'
|
||||||
|
|
||||||
- name: Enable sudoers.d subdir
|
- name: Enable sudoers.d subdir
|
||||||
lineinfile:
|
ansible.builtin.lineinfile:
|
||||||
dest: /etc/sudoers
|
path: /etc/sudoers
|
||||||
state: present
|
|
||||||
regexp: '^#includedir /etc/sudoers.d'
|
regexp: '^#includedir /etc/sudoers.d'
|
||||||
line: 'includedir /etc/sudoers.d'
|
line: 'includedir /etc/sudoers.d'
|
||||||
validate: 'visudo -cf %s'
|
validate: 'visudo -cf %s'
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue