Closed revolonl closed 1 year ago
In AWX that's indeed a builtin feature. In case of AF and no AWX (Ansible core inside the docker), your playbooks are generally exposed from the linuxhost over a mapped volume entry in the docker-compose file => into the docker container.
example : /mydockerfolder/.../data/playbooks => /app/dist/persistent/data/playbooks.
So you can simply do a git init on the host and you can do push/pulls from there. with visual studio code, you can also open the remote folders and do it from the gui.
I could add this as a feature, but that would involve setting up the whole git cycle, etc.... and that's guite some coding.
Ok, i will go this way ! Thanks for your answer ;-)
i will close this
No issue only a way to store ansible playbook in GIT repository. Describe the solution you'd like
I would like to store all my playbooks in a GIT. It would permit to have a simple code modification tracking. Then in the form, i could specify the yaml file in the GIT repo directly. If i am right,this feature exist in AWX.