Merge pull request #185 from aboe76/fix_groups_iteritems

fix iteritems
This commit is contained in:
Niels Abspoel 2018-08-24 15:22:33 +02:00 committed by GitHub
commit 28de757e9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@
{% set used_googleauth = [] %}
{% 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 }}:
group.{{ setting.get('state', "present") }}:
- name: {{ group }}