Ansible : AWX : Add Credentials2022/02/24
This is the basic configuration for Ansible AWX to run Ansible Playbooks.
To run Playbooks on target Hosts on AWX, it needs to configure the following settings.
* Add inventories
* Add credencials
* Add projects
* Add job templates
To add credentials, configure like follows.
This credentials are used for the case AWX connects to the target Hosts to run Playbooks or AWX imports Playbooks from Git or SVN repositories, and others.
|||Login to Ansible AWX Web and click [Credentials] on the left pane.|
|||Click [Add] button on the right pane.|
Input basic information for credential and click [Save] button to save.
Following credential example is for the one that is required when AWX connects to Hosts you'd like to run Playbooks.
|||After Saving credential, that's OK if following screen is shown.|
By the way, it's possible to add various type of credentials on here, like for Git or SVN repositories and so on.
Following credential example is for the case you specify Git or SVN repositories Playbooks are stored for Source Control Type that is required to set when you add Projects later like here.
|||After setting all, That's OK if new credentials are displayed on [Credentials] list.|