mirror of
https://github.com/ansible/awx.git
synced 2026-01-15 03:40:42 -03:30
Fix for failing job template callback test.
This commit is contained in:
parent
54e0b814bf
commit
c20300f6ce
@ -1608,7 +1608,7 @@ class JobTemplate(CommonModel):
|
||||
for pw in inventory_source.source_passwords_needed:
|
||||
if pw not in needed:
|
||||
needed.append(pw)
|
||||
return bool(len(needed) == 0)
|
||||
return bool(self.credential and not len(needed))
|
||||
|
||||
class Job(CommonModelNameNotUnique):
|
||||
'''
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user