rest
4 Ansible tutorials tagged “rest”. Working examples covering automation, configuration management, and DevOps workflows.
ansible.builtin.uri Module - HTTP API Requests
playbooks · 5
The ansible.builtin.uri module lets you make HTTP requests in playbooks: GET, POST, PUT, DELETE, authentication, health checks, and file downloads.
Ansible REST API: Call Web APIs with the uri Module
playbooks · 3
Learn how to call REST APIs from Ansible playbooks using the uri module. Practical examples for GET, POST, PUT, DELETE, authentication, and error handling.
Submit a GET request to a REST API endpoint — Interact with web services — Ansible module uri
playbooks · 4
How to retrieve a JSON list of users via a GET request to a REST API web service HTTPS endpoint from a remote Linux host in a few lines of Ansible code.
Ansible URI — POST & Token Auth Demo
playbooks · 4
Use Ansible to send a POST request and retrieve a token from a server. Learn to automate login processes with Ansible's URI module.