mirror of
https://github.com/ansible/awx.git
synced 2026-03-13 15:09:32 -02:30
Fix for failing job template callback test.
This commit is contained in:
@@ -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):
|
||||
'''
|
||||
|
||||
Reference in New Issue
Block a user