summaryrefslogtreecommitdiffstats
path: root/ansible-server/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'ansible-server/src/main')
-rw-r--r--ansible-server/src/main/ansible-server/RestServer.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ansible-server/src/main/ansible-server/RestServer.py b/ansible-server/src/main/ansible-server/RestServer.py
index 23484a54..d5f85d1a 100644
--- a/ansible-server/src/main/ansible-server/RestServer.py
+++ b/ansible-server/src/main/ansible-server/RestServer.py
@@ -410,11 +410,11 @@ class TestManager (object):
else:
for key in data_inventory_orig:
- if node in " ".join(data_inventory_orig[key]):
+ if node+" " in " ".join(data_inventory_orig[key]):
if not key in data_inventory_target:
data_inventory_target[key] = []
for cred in data_inventory_orig[key]:
- if node in cred:
+ if node+" " in cred:
data_inventory_target[key].append(cred)
Fail = False