Skip to main content
Ansible Connection

Follow these steps to connect Ansible to Drata.

Updated over a month ago

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.

    1. Select Applications in the left navigation bar.

    2. Select the + button near the top right.

    3. 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 or Public can be selected for this connection.

    4. Save and then copy your applications Client ID and Client secret. Store them securely to be used in a later step.

Enable Ansible

  1. Select Connections on the side navigation menu.

  2. Select the Available connections tab, search for Ansible, and select Connect.

  3. 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.

  4. After connecting, you may have to log into your account to authorize the Ansible Application you created.

Did this answer your question?