
    Vh                     R    d Z dZdZddlmZ  G d de      Zd Zedk(  r e        y	y	)
z
---
module: auth
short_description: Retrieve auth token from OpenStack cloud
author: OpenStack Ansible SIG
description:
    - Retrieve auth token from OpenStack cloud
extends_documentation_fragment:
- openstack.cloud.openstack
z`
- name: Authenticate to cloud and return auth token
  openstack.cloud.auth:
    cloud: rax-dfw
z[
auth_token:
    description: Openstack API Auth Token
    returned: success
    type: str
    )OpenStackModulec                       e Zd Zd Zy)
AuthModulec                 R    | j                  d| j                  j                         y )NF)changed
auth_token)	exit_jsonconnr   )selfs    h/home/dcms/DCMS/lib/python3.12/site-packages/ansible_collections/openstack/cloud/plugins/modules/auth.pyrunzAuthModule.run#   s"    u"&))"6"6 	 	8    N)__name__
__module____qualname__r    r   r   r   r   "   s    8r   r   c                  &    t               }  |         y )N)r   )modules    r   mainr   (   s    \F
Hr   __main__N)DOCUMENTATIONEXAMPLESRETURNBansible_collections.openstack.cloud.plugins.module_utils.openstackr   r   r   r   r   r   r   <module>r      sE   	
 _8 8
 zF r   