Does anyone here a good tip for managing parts of xml files
(like lineinfile / blockinfile but xml-aware)?

I have several fairly complex apps to manage, each with their own role.
Ideally they'd each manage their own subset of the domain.xml,
which rules out a single domain.xml template.


ansible-xml looked perfect until I tried it and found it doesn't actually
work :(    [ https://github.com/cmprescott/ansible-xml/issues/55  ]

My Plan B (make that 'H' by now) would be to have a master template
that pulled in 'sub-templates' via lookup_template() , but that sounds like
it'll get messy fast and involve hardcoding roles together.

Does everyone just template their XML? Are you crazy kids all using
YAML and JSON nowadays?

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAK5eLPR3icbDbo54Afmz%2B%3DtE36HWwnT7x8OMX95qEm%3DkvA1xeA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to