switch default from list to dict on include to match the global configuration
This commit is contained in:
parent
1c3e6844bc
commit
fb3773a605
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@
|
|||
{%- endif %}
|
||||
{%- set includedir = sudoers.get('includedir', '/etc/sudoers.d') -%}
|
||||
{%- else %}
|
||||
{%- set defaults = sudoers.get('defaults', []) %}
|
||||
{%- set defaults = sudoers.get('defaults', {}) %}
|
||||
{%- set generic_defaults = defaults.get('generic', []) %}
|
||||
{%- set user_list_defaults = defaults.get('user_list', {}) %}
|
||||
{%- set host_list_defaults = defaults.get('host_list', {}) %}
|
||||
|
|
Loading…
Reference in a new issue