mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
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:
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user