mirror of
https://github.com/ansible/awx.git
synced 2026-02-01 01:28:09 -03:30
Add specific lookup data to error message
This commit is contained in:
@@ -208,7 +208,7 @@ def main():
|
||||
inventory_object = module.get_one('inventories', data=lookup_data)
|
||||
|
||||
if not inventory_object:
|
||||
module.fail_json(msg='The specified inventory was not found.')
|
||||
module.fail_json(msg='The specified inventory, {0}, was not found.'.format(lookup_data))
|
||||
|
||||
inventory_source_object = module.get_one('inventory_sources', **{
|
||||
'data': {
|
||||
|
||||
Reference in New Issue
Block a user