[ansible-project] best way to switch ansible mode to simply dump the output of jinja2 templating

2016-09-16 Thread K Dawg
Is there a way to simply tell ansible to output any jinja2 templates it would have created when an ansible playbook is run? I.e., not deploy them but just dump them to local host Thanks a bunch. -- You received this message because you are subscribed to the Google Groups "Ansible Project"

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

2016-07-22 Thread K Dawg
be absent configs too. On Friday, July 22, 2016 at 11:31:20 AM UTC-4, K Dawg wrote: > > > > 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 s

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

2016-07-22 Thread K Dawg
known before handle. And the existence or non-existence of various sections (i.e., XML nodes) is also not known before hand. Same with attributes. I think i need to suck into an XML Dom and then trigger actions while walking the DOM. > > On Wednesday, July 20, 2016 at 8:53:18 AM UTC-6

[ansible-project] Re: Use a yaml/json/xml file to drive ansible?

2016-07-20 Thread K Dawg
That is, sucking a DOM like object and walking it (not knowing exactly what to look for... i.e., not simply an XPATH type parsing). On Wednesday, July 20, 2016 at 10:53:31 AM UTC-4, Lax Clarke wrote: > > Is there a way to use a yaml/json/xml or other similar config file to > drive ansible