[ansible-project] Re: Can ansible parse and act based on information in an input xml / yaml / json file?

2016-07-22 Thread K Dawg
As an example, I have a 3 level tree structure that defines a config. top level list: A , B , C, D, ... <-- note the ellipses Then under A: x, y, z, <-- note the ellipses Then under x: i, j, k, <--- note the ellipses And the pattern can continue. Moreover, there can be absent c

[ansible-project] Re: Can ansible parse and act based on information in an input xml / yaml / json file?

2016-07-22 Thread K Dawg
On Wednesday, July 20, 2016 at 2:24:16 PM UTC-4, James wrote: > > The right answer to this probably depends on where this "input file" is > located (on Ansible server or on hosts being modified) and what you're > wanting to do with the information. But in general, if you are talking > about r

[ansible-project] Re: Can ansible parse and act based on information in an input xml / yaml / json file?

2016-07-20 Thread James
The right answer to this probably depends on where this "input file" is located (on Ansible server or on hosts being modified) and what you're wanting to do with the information. But in general, if you are talking about reading a YAML or JSON file into variables for use within a playbook you c