Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to assign mulity attribute value in xml node #134

Open
Neii opened this issue Dec 17, 2019 · 0 comments
Open

How to assign mulity attribute value in xml node #134

Neii opened this issue Dec 17, 2019 · 0 comments

Comments

@Neii
Copy link

Neii commented Dec 17, 2019

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. ; )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant