fix iteritems

This commit is contained in:
Niels Abspoel 2018-08-24 15:22:00 +02:00
parent 7f9f3df6c7
commit ed02fbc678
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@
{% set used_googleauth = [] %} {% set used_googleauth = [] %}
{% set used_user_files = [] %} {% set used_user_files = [] %}
{% for group, setting in salt['pillar.get']('groups', {}).iteritems() %} {% for group, setting in salt['pillar.get']('groups', {}).items() %}
users_group_{{ setting.get('state', "present") }}_{{ group }}: users_group_{{ setting.get('state', "present") }}_{{ group }}:
group.{{ setting.get('state', "present") }}: group.{{ setting.get('state', "present") }}:
- name: {{ group }} - name: {{ group }}