Wednesday, January 29, 2020

Transforming XML Data With Ansible

Some network devices return structured data in either text- or XML format (but cannot spell JSON). Ansible prefers getting JSON-formatted data, and has a number of filters to process text printouts… but what could you do if you want to work with XML documents within Ansible? I described a few solutions in Transforming XML Data in Ansible.

Thanks to Ivan Pepelnjak (see source)

No comments:

Post a Comment