I am creating some playbooks in ansible that I want to put into awx. These plays create some files that I want people to be able to download and examine.
On the ansible CLI, I’ve been storing temp files in tempdir created by ansible and then making the last part of the playbook tell the user where they are. Not a great user experience, but it works. It’s much worse in awx though because the temp files will be inside the awx container (we are in a docker awx 13 deployment atm).
What’s a good method for awx where I can put the files somewhere and give the user a link to them when the play is completed?
My first thought is an external server that the playbook can interact with to post the documents (scp, rsync, mongoDB, some web service, something) and give the user a link to that at the end.
Thanks for any suggestions.
–John