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:
- Click on Credentials in the left-hand menu bar.
- Click on the green + icon to create a new credential.
- 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.
- There are many other fields available for specifying parameters for more advanced use cases—however, for our demonstration purposes, this is sufficient.