We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68d55f4 commit 025827eCopy full SHA for 025827e
ansible/roles/topology/library/map_hosts.py
@@ -69,7 +69,7 @@ def run_module():
69
for s in servers:
70
az = s['availability_zone']
71
host_id = s['host_id']
72
- if host_id != '':
+ if host_id != '': # empty string if e.g. server is shelved
73
all_host_ids.append(host_id)
74
if az not in topo:
75
topo[az] = {}
@@ -83,7 +83,7 @@ def run_module():
83
topo[az] = dict((k[:uuid_len], v) for (k, v) in topo[az].items())
84
85
result = {
86
- "changed": True,
+ "changed": False,
87
"topology": topo,
88
}
89
0 commit comments