1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-01 08:21:15 +03:00

Tweak comment

This commit is contained in:
Bill Nottingham 2016-12-08 14:06:04 -05:00
parent 2e39070ffd
commit bf5479f6ba

View File

@ -2561,7 +2561,7 @@ class JobTemplateCallback(GenericAPIView):
return set([hosts.get(name__in=remote_hosts)])
except (Host.DoesNotExist, Host.MultipleObjectsReturned):
pass
# Next, try matching based on name or ansible_ssh_host variable.
# Next, try matching based on name or ansible_host variables.
matches = set()
for host in hosts:
for host_var in ['ansible_ssh_host', 'ansible_host']: