Module - auth_info
This module provides for the following ansible plugin:
auth_info
Module Documentation
Fetch information about authenticated user/project
Options
- auth
Required if 'cloud' param not used.
- auth_type
Auth type plugin for OpenStack. Can be omitted if using password authentication.
- region_name
OpenStack region name. Can be omitted if using default region.
- availability_zone
Availability zone.
- cloud
Cloud config from clouds.yml resource
Required if 'auth' param not used
Authors
OpenStack tenant migration tools (@os-migrate)
Example Tasks
- name: Fetch info about currently authenticated user/project
os_migrate.os_migrate.auth_info:
register: _auth_info