according to https://docs.ansible.com/ansible/2.5/dev_guide/testing/sanity/no-dict-iteritems.html iteritmes is not in python3. changing old items
This commit is contained in:
parent
fd67776bab
commit
b72c46c607
|
@ -2,7 +2,7 @@
|
|||
# All Servers and associated devices
|
||||
###############
|
||||
## {{ env }}
|
||||
{% for key, value in groups.iteritems()|sort %}
|
||||
{% for key, value in groups.items()|sort %}
|
||||
{% if groups[key] != [] and key not in vars['exclude_hostgroups'] %}
|
||||
define hostgroup{
|
||||
hostgroup_name {{ key }}
|
||||
|
|
Loading…
Reference in New Issue