Docker image for quickstart / trying it out?

I don’t care if it’s a bit messy to start with, but it would be awesome to have a docker image we could run to just try out AWX quickly and easily, e.g.:

docker run ansible/awx -p 80:80

Then visit http://localhost/ and log in with admin/password

I’m working on an Ansible role to install AWX (https://galaxy.ansible.com/geerlingguy/awx/, with an implementation in https://github.com/geerlingguy/ansible-vagrant-examples/tree/master/awx)—and if nobody else is working on something more official, I could take a crack at having the role be container-compatible, and then also building a container with Ansible Container…

A lot of other products have a Docker container people can quickly run, even if it’s not production quality, to install without having to run through all the rigamarole of having build deps, Node.js, Pip, etc. installed correctly.

This looks sufficient to get started with! Going to try it out. Thanks Mr. Geerling.

Would copying PostgreSQL data from /tmp/pgdocker allow you to clone an AWX instance to another server?

Hello Jeff,

Great work, Awesome, that the many platforms supported and Travis build status. thank you, will give it a try

Just used your role to set this up in a VM and all is working well.

For the role itself, it would be nice to source the playbook and the include files to be run directly from the controlling host, instead of an Ansible task running ansible-playbook. This will:

  • allow the role to customize the installation instead of taking all of the defaults users/passwords etc.
  • show what’s happening during the awx playbook run in a slightly more sane manner

My preferred method would be to set a directory in the repo as the directory to git sync to, adding said directory to the .gitignore. Then we should be able to run all plays from from the install.yml. I’m not sure how to do that within the role if install.yml ever changes though, since we want to be able to lock the version being installed (e.g. to a git commit or to latest).

I’ll take a stab at this and issue a PR if I come up with something successful.

–shaun