22 lines
532 B
Django/Jinja
22 lines
532 B
Django/Jinja
#jinja2: lstrip_blocks: True
|
|
{{ ansible_managed | comment }}
|
|
{% if sudo_misc_settings %}
|
|
{% for item in sudo_misc_settings %}
|
|
Defaults {{ item }}
|
|
{% endfor %}
|
|
{% endif %}
|
|
|
|
{% if sudo_env_keep -%}
|
|
Defaults env_keep = "{{ sudo_env_keep|join(' ') }}"
|
|
{% endif %}
|
|
|
|
{% if sudo_secure_path -%}
|
|
Defaults secure_path = "{{ sudo_secure_path }}"
|
|
{% endif %}
|
|
|
|
## Allow root to run any commands anywhere
|
|
root ALL=(ALL) ALL
|
|
|
|
## Read drop-in files from /etc/sudoers.d (the # here does not mean a comment)
|
|
#includedir /etc/sudoers.d
|