0
0
mirror of https://github.com/saltstack-formulas/users-formula.git synced 2024-11-27 22:38:34 +01:00

fix iteritems

This commit is contained in:
Niels Abspoel 2018-08-24 15:22:00 +02:00
parent 7f9f3df6c7
commit ed02fbc678

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 }}