mirror of
https://github.com/ansible/awx.git
synced 2026-03-25 12:55:04 -02:30
Signed-off-by: tompage1994@hotmail.co.uk <tpage@redhat.com>
This commit is contained in:
@@ -736,7 +736,7 @@ def main():
|
|||||||
|
|
||||||
webhook_credential = module.params.get('webhook_credential')
|
webhook_credential = module.params.get('webhook_credential')
|
||||||
if webhook_credential:
|
if webhook_credential:
|
||||||
new_fields['webhook_credential'] = module.resolve_name_to_id('webhook_credential', webhook_credential)
|
new_fields['webhook_credential'] = module.resolve_name_to_id('credentials', webhook_credential)
|
||||||
|
|
||||||
# Create the data that gets sent for create and update
|
# Create the data that gets sent for create and update
|
||||||
new_fields['name'] = new_name if new_name else (module.get_item_name(existing_item) if existing_item else name)
|
new_fields['name'] = new_name if new_name else (module.get_item_name(existing_item) if existing_item else name)
|
||||||
|
|||||||
Reference in New Issue
Block a user