Ansible - Making API calls idempotent

This article is about the Ansible URI module. In the last couple of months, I have spent a lot of time around automation of Elasticsearch and wanted to share some useful information about how to use Ansible to interact with REST API endpoints and make them idempotent. We all know Ansible modules are idempotent in nature, which means performing an operation once has exactly the same result as performing it repeatedly without any intervening actions....

January 28, 2023 · 5 min · Harwinder Sandhu