cloudera.cloud.env_user_sync_info module – Get the status of a CDP Users and Groups sync
Note
This module is part of the cloudera.cloud collection (version 3.3.0).
It is not included in ansible-core.
To check whether it is installed, run ansible-galaxy collection list.
To install it, use: ansible-galaxy collection install cloudera.cloud.
To use it in a playbook, specify: cloudera.cloud.env_user_sync_info.
New in cloudera.cloud 1.0.0
Synopsis
Get the status of a synchronization event for users and groups with one or more CDP environments.
The module supports check_mode.
Parameters
Parameter |
Comments |
|---|---|
If provided, the Cloudera on cloud API will use this value as its access key. If not provided, the API will attempt to use the value from the environment variable Required if Mutually exclusive with |
|
If provided, the Cloudera on cloud API will use this value as its credentials path. If not provided, the API will attempt to use the value from the environment variable Default: |
|
If Choices:
|
|
The Cloudera on cloud API endpoint to use. If not provided, the API will attempt to use the value from the environment variable Mutually exclusive with |
|
Specify the Cloudera on cloud API endpoint region. See Cloudera Control Plane regions for more information. If not provided, the API will attempt to use the value from the environment variable
Mutually exclusive with Choices:
|
|
Verify the TLS certificates for the Cloudera on cloud API endpoint. Choices:
|
|
The HTTP user agent to use for Cloudera on cloud API requests. Default: |
|
The |
|
If provided, the Cloudera on cloud API will use this value as its private key. If not provided, the API will attempt to use the value from the environment variable Required if |
|
If provided, the Cloudera on cloud API will use this value as its profile. If not provided, the API will attempt to use the value from the environment variable Default: |
|
Legacy CDPy SDK error handling. Choices:
|
Attributes
Attribute |
Support |
Description |
|---|---|---|
Support: full |
Can run in check_mode and return changed status prediction without modifying target, if not supported the action will be skipped. |
|
Support: N/A |
Will return details on what has changed (or possibly needs changing in check_mode), when in diff mode |
|
Platforms: all |
Target OS/families that can be operated against |
Examples
# Note: These examples do not set authentication details.
# Get the status of a sync event (non-WORKLOAD_IAM_SYNC)
- cloudera.cloud.env_user_sync_info:
name: 0e9bc67a-b308-4275-935c-b8c764dc13be
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
|---|---|
Returns the captured CDP SDK log. Returned: when supported |
|
Returns a list of each line of the captured CDP SDK log. Returned: when supported |
|
Returns an object describing of the status of the User and Group sync event. Returned: success |
|
Sync operation end timestamp (epoch seconds). Returned: when supported Sample: |
|
Error message for general failure of sync operation. Returned: when supported |
|
List of sync operation details for all failed environments. Returned: when supported |
|
The environment CRN. Returned: always |
|
Details on the failure. Returned: when supported |
|
UUID (or CRN, if running with the Returned: always Sample: |
|
The operation type. Returned: when supported Sample: |
|
Sync operation start timestamp (epoch seconds). Returned: when supported Sample: |
|
Status of this operation. Returned: when supported Sample: |
|
List of sync operation details for all succeeded environments. Returned: when supported |
|
The environment CRN. Returned: always |
|
Details on the success. Returned: when supported |