2 days ago When connecting to Docker daemon with TLS, you might need to install additional Python packages. For the Docker SDK for Python, version 2.4 or newer, this can be done by installing dockertls with ansible.builtin.pip. Note that the Docker SDK for Python only allows to specify the path to the Docker configuration for very few functions. Ansible AWX is one of the upstream project for Red Hat Ansible Tower. AWX provides a web-based user interface, REST API, and task engine built on top of Ansible. Installation of Ansible AWX is simple and pretty straightforward with latest version. The Ansible Playbook install.yml will deploy AWX using the custom Docker image that includes PowerShell. Once complete, the output should look similar to the following screenshot. Once complete, the output should look similar to the following screenshot. Jun 11, 2019 How to Install Ansible AWX on CentOS 7. In the previous tutorial, I showed you how to deploy Ansible AWX via docker. In the meantime, I've found two projects that build rpm packages for AWX. So in this tutorial, I will sh. Ansible AWX is no longer supported on Docker, but if you do need to install it on Docker you have to use V17.01 – details below Install Ansible AWX 17.0.1 on Ubuntu 20.04 using Docker AWX is the upstream open source version of Ansible Tower, you can install it for free and use it for free forever.
In a previous post I wrote about setting up Ansible AWX using a docker environment. This used Ansible to read in an inventory file, dynamically generate scripts which stored environment variables as well as an overall docker-compose file.
In this post I shall include further details on the files generated using the Ansible approach of setting up AWX.
Then use docker-compose to create the AWX environment.
Files generated using Ansible
When running Ansible to setup the AWX. The following files are generated.
Note. As these hold environment specific details you will need to modify these files first to match your environment setup.
These files were generated using the stock inventory file - https://github.com/ansible/awx/blob/devel/installer/inventory
The inventory file tells Ansible where to store the following files. This is identified by the following line.
A user’s home directory under a hidden directory called .awx
It’s very important that this stay the same between upgrades or you will lose the ability to decrypt your credentials
In the example below some of the volumes require changing.
- /volume1/docker-data = should match the path to where you would want to host static AWX projects (rather than remotely via a Git repository) * ~/.awx/awx-compose = should match the location where you have all your files
If you were using nginx then the awx_web docker container makes use of this conf file.
Once you have validated that the files shown above are correct and match your environment.
- this assumes you have all the files stored within your home directory
This will setup and run the 5 docker containers.
Ansible Awx Docker Run