json
4 Ansible tutorials tagged “json”. Working examples covering automation, configuration management, and DevOps workflows.
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.
Ansible Tips’n’Tricks: Defining –extra-vars as JSON
playbooks · 3
A practical guide on using JSON for Ansible’s extra-vars to enhance efficiency and test flexibility. Tested on real machines with clear, copy-paste examples.
Extracting JSON Data with Ansible
playbooks · 3
Learn how to use Ansible to extract specific JSON data efficiently with the json_query filter, showcasing an example of retrieving folder values based.
Read a JSON file into a variable — Ansible lookup plugin file
playbooks · 2
How to automate the reading of example.json file on Ansible host, assign to a variable and use in your Ansible Playbook code.