Before we can further discuss AWX, it is best if you have it installed on your machine so that you can follow the explanation and immediately start to use AWX. The most convenient way of installing AWX is to follow these steps:
- First of all, we need to clone the AWX Git repository, which can be done by running the following command:
$ git clone https://github.com/ansible/awx.git
- Modify the installer/inventory file by setting sensible values for the passwords and secrets (such as pg_password, rabbitmq_password, admin_password, and secret_key).
- Now that we have downloaded the Ansible AWX code and installer, we can move into the installer folder and execute the installation by running the following code:
$ cd awx/installer
$ ansible-playbook -i inventory install.yml
The install.yml playbook performs the whole installation for us. It starts by checking the environment...