mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 10:00:01 -03:30
exit from module
This commit is contained in:
parent
76f03b9adc
commit
7c4aedf716
@ -267,7 +267,7 @@ def main():
|
||||
|
||||
if state == 'exists' and credential is not None:
|
||||
# If credential exists and state is exists, we're done here.
|
||||
module.create_if_needed(credential, credential, endpoint='credentials', item_type='credential')
|
||||
module.exit_json(**module.json_output)
|
||||
|
||||
# Attempt to look up the related items the user specified (these will fail the module if not found)
|
||||
if user:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user