mirror of
https://github.com/ansible/awx.git
synced 2026-02-28 00:08:44 -03:30
exit from module
This commit is contained in:
@@ -267,7 +267,7 @@ def main():
|
|||||||
|
|
||||||
if state == 'exists' and credential is not None:
|
if state == 'exists' and credential is not None:
|
||||||
# If credential exists and state is exists, we're done here.
|
# 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)
|
# Attempt to look up the related items the user specified (these will fail the module if not found)
|
||||||
if user:
|
if user:
|
||||||
|
|||||||
Reference in New Issue
Block a user