Closed ghost closed 3 years ago
Also -- if you go to test this, you might encounter a never-ending migration process at first startup.
There is an open issue for a similar complaint, and following the suggestion geerlingguy posted, it finishes migrations and starts up a fresh AWX instance. Reference: https://github.com/ansible/awx/issues/8387#issuecomment-724873700
I don't agree with some of the changes, so I'm going to close this pull request. I've updated the build to include some things though.
Thanks for pointing out the failure. I'm not rebuilding these boxes all the time, so it can take a while for me to notice a new failure caused by a new version of AWX.
I think these changes address some issues with the original code, as I tried using your scripts with a fresh AWX deployment and encountered Python/SELINUX errors during the playbook execution.
Recommended changes were using pip3 with the --user flag versus root/system-wide installations, setting vagrant into the docker group, and running the installation playbook under the vagrant user (opposed to root).
(Fixed a mistaken username in my prior pull request -- resubmitted)