Skip to content

Instantly share code, notes, and snippets.

@justinhennessy
justinhennessy / gist:28e82c2ec05f9081786a
Last active April 29, 2021 23:13
Parsing JSON with Ansible ...

Recently, Everyday Hero has been doing a heap of work around the automation and provisioning of resources with AWS cloud services. This entails working frequently with the AWS API.

A useful filter we have been using in Ansible is taking output from a shell action and turning it into something we can consume via variables.

An example playbook is below: