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.:
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.
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.