mirror of
https://github.com/ansible/awx.git
synced 2026-04-09 20:19:21 -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:
|
for pw in inventory_source.source_passwords_needed:
|
||||||
if pw not in needed:
|
if pw not in needed:
|
||||||
needed.append(pw)
|
needed.append(pw)
|
||||||
return bool(len(needed) == 0)
|
return bool(self.credential and not len(needed))
|
||||||
|
|
||||||
class Job(CommonModelNameNotUnique):
|
class Job(CommonModelNameNotUnique):
|
||||||
'''
|
'''
|
||||||
|
|||||||
Reference in New Issue
Block a user