mirror of
https://github.com/ansible/awx.git
synced 2024-11-01 08:21:15 +03:00
Tweak comment
This commit is contained in:
parent
2e39070ffd
commit
bf5479f6ba
@ -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']:
|
||||
|
Loading…
Reference in New Issue
Block a user