Using Ansible with REST APIs | Opensource.com
opensource.com › article › 21Sep 30, 2021 · A basic API playbook. Well, it really comes down to a few key core capabilities within Ansible, which are exposed nicely with one specific built-in task, uri.In this post, I'll go through a fairly simple example of how to call a REST API and use the data from that call to decide what to do next.
Ansible - Interacting with external REST API
linuxctl.com › 2017 › 01Jan 20, 2017 · Ansible has many powerful modules. One of which is called uri which is capable of sending any kind of HTTP request. Using this module, it is fairly simple to allow ansible to intelligently talk to a REST API. This will come in handy during for automation of the sensu monitoring docker infrastructure I am currently working on.