Y
Hacker News
new
|
ask
|
show
|
jobs
RESTful API for executing Ansible playbooks remotely
(
github.com
)
2 points
by
lfkdev
718 days ago
1 comments
dogaar
714 days ago
REST is for data transfers not executions. One of these would have been a much better choice: JSON-RPC, XML-RPC, gRPC.
link
lfkdev
711 days ago
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
link