mirror of
https://github.com/ansible/awx.git
synced 2026-03-26 05:15:02 -02:30
get_one now also returns the name field, and modifying modules for get_one and added in some IDs in a handful of unit tests
This commit is contained in:
@@ -68,7 +68,7 @@ def main():
|
||||
fail_if_not_running = module.params.get('fail_if_not_running')
|
||||
|
||||
# Attempt to look up the job based on the provided name
|
||||
job = module.get_one('jobs', **{
|
||||
job, job_name = module.get_one('jobs', **{
|
||||
'data': {
|
||||
'id': job_id,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user