How to assign mulity attribute value in xml node
Neii opened this issue · 0 comments
Neii commented
in tomcat8.5 server.xml config file i want to add a 'Context' node child of 'Server/Service/Engine/Host', and set the node two attr like <Context path="" docBase="/opt/app/xxx">
in my yaml i try this
xml: path: /opt/apache-tomcat-{{tomcat_version}}/conf/server.xml xpath: Server/Service/Engine/Host/Context attribute: path, value: ""
my question is how to add another attr of docBase
,i'm new of ansible-xml,hope for help, thanks. ; )