I hate parsing JSON and the JSON example used in this demo is awful! There's lots of nested variables and different sections but I worked it out and now I've given it to you to help you understand how to do it.
The GitHub code is here: https://github.com/dmccuk/json_parsin...
Please like the repo and follow me on GitHub.
The original Google Groups - Ansible Project question can be found here: https://groups.google.com/g/ansible-p...
Subscribe for more content like this!
If you can help with a better example of JSON parsing, please clone my repo and send me a pull request. I'm always looking to help others with their knowledge.
#json #ansible # parsing
Watch video Parsing JSON with Ansible online without registration, duration hours minute second in high quality. This video was added by user LondonIAC / Dennis McCarthy / Automation Engineer 24 March 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 3,915 once and liked it 41 people.