46 lines
1.3 KiB
Python
46 lines
1.3 KiB
Python
#!/usr/bin/python
|
|
|
|
DOCUMENTATION = r'''
|
|
---
|
|
module: decort_user_info
|
|
|
|
description: See L(Module Documentation,https://repository.basistech.ru/BASIS/decort-ansible/wiki/Home). # noqa: E501
|
|
'''
|
|
|
|
from ansible.module_utils.basic import AnsibleModule
|
|
|
|
|
|
def main():
|
|
module = AnsibleModule(
|
|
argument_spec=dict(
|
|
app_id=dict(type='raw'),
|
|
app_secret=dict(type='raw'),
|
|
authenticator=dict(type='raw'),
|
|
controller_url=dict(type='raw'),
|
|
domain=dict(type='raw'),
|
|
jwt=dict(type='raw'),
|
|
oauth2_url=dict(type='raw'),
|
|
password=dict(type='raw'),
|
|
username=dict(type='raw'),
|
|
verify_ssl=dict(type='raw'),
|
|
ignore_api_compatibility=dict(type='raw'),
|
|
ignore_sdk_version_check=dict(type='raw'),
|
|
api_methods=dict(type='raw'),
|
|
objects_search=dict(type='raw'),
|
|
resource_consumption=dict(type='raw'),
|
|
),
|
|
supports_check_mode=True,
|
|
)
|
|
|
|
module.fail_json(
|
|
msg=(
|
|
'The module "decort_user_info" has been renamed to "decort_user". '
|
|
'Please update your playbook to use "decort_user" '
|
|
'instead of "decort_user_info".'
|
|
),
|
|
)
|
|
|
|
|
|
if __name__ == '__main__':
|
|
main()
|