Skip to content

Commit 025827e

Browse files
committed
set changed false + comments
1 parent 68d55f4 commit 025827e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ansible/roles/topology/library/map_hosts.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def run_module():
6969
for s in servers:
7070
az = s['availability_zone']
7171
host_id = s['host_id']
72-
if host_id != '':
72+
if host_id != '': # empty string if e.g. server is shelved
7373
all_host_ids.append(host_id)
7474
if az not in topo:
7575
topo[az] = {}
@@ -83,7 +83,7 @@ def run_module():
8383
topo[az] = dict((k[:uuid_len], v) for (k, v) in topo[az].items())
8484

8585
result = {
86-
"changed": True,
86+
"changed": False,
8787
"topology": topo,
8888
}
8989

0 commit comments

Comments
 (0)