Skip to content
Snippets Groups Projects
Commit 351f27a1 authored by Lars Beckers's avatar Lars Beckers
Browse files

shell: adapt main sudoers configuration to bullseye

parent 8ca0699e
Branches
No related tags found
1 merge request!15Bullseye Compatibility
......@@ -9,8 +9,8 @@
- sudo
- name: ensure we got a sane sudo config
copy:
src: sudo/default
template:
src: sudoers.j2
dest: /etc/sudoers
owner: root
group: root
......
......@@ -19,6 +19,12 @@ Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/b
# User privilege specification
root ALL=(ALL:ALL) ALL
{% if ansible_distribution_major_version|int(default=99) < 11 %}
# See sudoers(5) for more information on "#include" directives:
#includedir /etc/sudoers.d
{% else %}
# See sudoers(5) for more information on "@include" directives:
@includedir /etc/sudoers.d
{% endif %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment