mirror of
https://github.com/ansible/awx.git
synced 2026-01-14 19:30:39 -03:30
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…
x
Reference in New Issue
Block a user