RESTful API for executing Ansible playbooks remotely
1–3 of 3 posts
Re: RESTful API for executing Ansible playbooks remotely
#2REST is for data transfers not executions. One of these would have been a much better choice: JSON-RPC, XML-RPC, gRPC.
Re: RESTful API for executing Ansible playbooks remotely
#3REST is for data transfers not executions. One of these would have been a much better choice: JSON-RPC, XML-RPC, gRPC.
I'm with you that RPC is better suited for action-oriented APIs - but flask-restx gets the job done well and I know more about it, which is enough for me to simply stick with it. I also like swagger. I'll consider RPC for my next project though