Ansible Engine Parsing and Transforming Data
Solution overview
As you continue to build your automation toolkit it is inevitable that you will run into a scenario where parsing text output from different command line tools or transforming data from one format to another becomes a necessity.
This module will help you understand how to convert text received from the standard-out from CLI tools into structured data that is easily consumed programmatically.
Whether it's the structured data resulting from your parser plugins or structured data ingested from some other source, there will be times when the shape of that data isn't exactly what you need.
Transforming data is common to make existing data "fit" in a format to meet the needs of our automation.
This section will illustrate how to use a technology called Jinja2 to reshape the data.