Hello every one,
I'm working with Ansible to manipulate and make automation to tomcat server 
events,
My objective is to update the tomcat server port , the default port is 8080,

The port number is in the "server.xml",

The path is "/Server/Service/Connector"

But the problem is that i have two connector in the "server.xml" file
So it's hard to identify with port to update for Ansible.

The file looks like this :

<Service name="Catalina">
    <Connector port="8080" protocol="HTTP/1.1"
               connectionTimeout="20000"
               redirectPort="8443" />
    <Connector port="9080" protocol="AJP/1.3" redirectPort="8443" />
</Service>

I want to update the "8080" port not the "9080",

Thank you for your help.

-- 
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/aab580fb-9120-4b47-8da7-e136323b954f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to