Integrating Ansible with Drata automates your user access reviews, saving time and reducing errors by syncing user data directly from Ansible.
Prerequisites
Ensure that your Ansible Tower account has Administrator privileges.
Copy your Ansible Tower URL (For example:
https://ansible.myapp-exp.com
). Store them securely to be used in a later step.Create a new OAuth Application and copy the client ID and client secret.
Select Applications in the left navigation bar.
Select the + button near the top right.
Enter application details:
Name
Description (optional)
Organization: Select the organization to be associated with this connection
Authorization Grant Type: Select
Authorization Code
Redirect URIS: Enter
https://api.stackone.com/connect/oauth2/ansibletower_iam/callback
Client Type:
Confidential
orPublic
can be selected for this connection.
Save and then copy your applications Client ID and Client secret. Store them securely to be used in a later step.
Enable Ansible
Select Connections on the side navigation menu.
Select the Available connections tab, search for Ansible, and select Connect.
Follow the instructions on the connection drawer.
After you select connect to Ansible, on the popup modal, enter the required fields with the values that you obtained from the previous section.
After connecting, you may have to log into your account to authorize the Ansible Application you created.