Advanced Configuration Lab  · On-demand

Ansible Engine Parsing and Transforming Data

Solution overview

Real-world automation rarely receives data in exactly the shape it needs. Command-line tools return raw, unstructured text, and even structured data pulled from a parser or another source doesn't always match what your playbook requires.

This module covers both problems. First, you'll learn how to convert raw CLI output into structured data that can be consumed programmatically. Then, you'll use Jinja2 templating to reshape that structured data into the format your automation actually needs.

Lab diagram

Loading