Simple Web UI for infra management with Ansible playbooks polemarch.org (github.com/vstconsulting/polem…) -- awx light?
GitHub - vstconsulting/polemarch: Simple WEB gui for infrastructure management by ansible playbooks or modules. This is only mirror with bins in releases.
Simple WEB gui for infrastructure management by ansible playbooks or modules. This is only mirror with bins in releases. - GitHub - vstconsulting/polemarch: Simple WEB gui for infrastructure manage...GitHub
Stefan Midjich ꙮ҄
in reply to JP Mens • • •Interesting. Just a first impression here but they seem to be using subprocess and Popen to run Ansible. Which is a red flag imho because Ansible lib already has all you need to run Ansible from another software as a library.
Instead they've opted to execute subprocesses with Ansible. This is prone to errors, limited, slow and it also shows a potential lack of understanding of Ansible internals.
JP Mens
in reply to Stefan Midjich ꙮ҄ • • •JP Mens
in reply to JP Mens • • •GitHub - ansible-semaphore/semaphore: Modern UI for Ansible
GitHubStefan Midjich ꙮ҄
in reply to JP Mens • • •Yet another case of just running the ansible commands.
github.com/ansible-semaphore/s…
A decent implementation is basically the design of AWX. Use Ansible lib to execute plays, use Ansible callback plugin to process the output and do all this in async jobs like rq or celery for example. Anything else is just a poor man's Ansible UI.
semaphore/AnsiblePlaybook.go at develop · ansible-semaphore/semaphore
GitHubJP Mens
in reply to Stefan Midjich ꙮ҄ • • •Dial A for Ansible and R for Runner
jpmens.netStefan Midjich ꙮ҄
in reply to JP Mens • • •Why oh why does no one use the official ansible library to run Ansible plays?!
github.com/ansible/ansible-run…
ansible-runner/runner.py at devel · ansible/ansible-runner
GitHubJP Mens
in reply to Stefan Midjich ꙮ҄ • • •Stefan Midjich ꙮ҄
in reply to JP Mens • • •Elena ``of Valhalla''
Unknown parent • •Elena ``of Valhalla''
Unknown parent • •ansible was installed systemwide, and sometimes there is a need to install a more recent version than the one in debian stable to be able to use their features.
Also, fixing versions in requirements.txt is pretty bad from a security point of view and is better avoided.
Anyway, if the authors of a library recommend not to use that library, I tend to read that as a strong hint that things will break in horribly to debug ways, and stay. away. from. it.
JP Mens likes this.