Configuring Ansible

Ansible configuration includes the installation process, Windows management enabling and creating a credential in Ansible AWX.

Installing Ansible

Ansible is widely available on Linux OS, you can install it using the Yum command on all RedHat-type distributions. For more details, see the Ansible official documentation.

Enabling Windows Management with Ansible

Ansible manages Windows operating systems using PowerShell commands and command lines over WinRM. To enable Windows management by using the Ansible “winrm” module, you must have an installed Python module. For details on enabling Windows management with Ansible, see the Ansible official documentation.

Creating a Credential in Ansible AWX

To create a new credential:

  1. Log in as an Administrator to the AWX Portal.

  2. Navigate to Resources > Credentials and select Add.

  3. Set the Name for the Credential profile. For example, Delinea Vault.

  4. Set the Credential type to Delinea Cloud Suite Credential Provider Lookup.

  5. Enter your Delinea tenant URL. For example, https://abc1234.my.centrify.net

  6. Enter the name of the Delinea Service User created earlier. For example, ansible@mycompany.com where mycompany.com is the login suffix of the Service User.

  7. Enter the password of the Delinea Service User created earlier.

  8. Select Test to validate the Credential profile.

  9. The test will prompt you for the following:

    1. Account name for the credential checkout from the Vault.

    2. Name of the system this account is registered on. For example, root on server1234.

  10. Save the Credential Profile after the test is complete.