Use iteritems() instead of items().
Signed-off-by: René Jochum <rene@jochums.at>
This commit is contained in:
parent
4e49e73e76
commit
a013b79027
@ -3,7 +3,7 @@ include:
|
||||
{%- from "openssh/map.jinja" import openssh with context -%}
|
||||
{%- set openssh_pillar = pillar.get('openssh', {}) -%}
|
||||
{%- set auth = openssh_pillar.get('auth', {}) -%}
|
||||
{%- for user,keys in auth.items() -%}
|
||||
{%- for user,keys in auth.iteritems() -%}
|
||||
{%- for key in keys -%}
|
||||
{% if 'present' in key and key['present'] %}
|
||||
{{ key['name'] }}:
|
||||
|
Loading…
Reference in New Issue
Block a user