Thanks this solution works perfectly well. Just for the record this piece of code needs python package python-xmltodict installed. Thanks
-- 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/08109f86-f6e6-4f5c-8382-5b19039c2228%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
