Setting up credentials in AWX

When you log in to AWX, you will notice a menu bar down the left-hand side of the screen. To define a new set of credentials that we will use to allow Ansible to log into our target machine, perform the following steps:

  1. Click on Credentials in the left-hand menu bar.
  2. Click on the green + icon to create a new credential.
  3. Give the credential a name and select Machine from the CREDENTIAL TYPE field. There are many types of credentials that enable AWX to interact with a wide variety of services, but for now, we are only interested in this particular type.
  4. There are many other fields available for specifying parameters for more advanced use caseshowever, for our demonstration purposes, this is sufficient.

Your ...

Get Hands-On Enterprise Automation on Linux now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.