mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-08 14:20:04 -07:00
Fixes #4540 Use shared module snippet to evaluate ec2 credentials
This commit is contained in:
parent
dc4d589ce0
commit
afa5988391
9 changed files with 99 additions and 167 deletions
|
@ -160,7 +160,7 @@ def main():
|
|||
)
|
||||
module.exit_json(**ec2_facts_result)
|
||||
|
||||
# this is magic, see lib/ansible/module_common.py
|
||||
#<<INCLUDE_ANSIBLE_MODULE_COMMON>>
|
||||
# import module snippets
|
||||
from ansible.module_utils.basic import *
|
||||
|
||||
main()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue