Skip to content
This repository has been archived by the owner on Oct 9, 2024. It is now read-only.

how to find the webapp path? #27

Open
afeld opened this issue Jan 26, 2017 · 0 comments
Open

how to find the webapp path? #27

afeld opened this issue Jan 26, 2017 · 0 comments

Comments

@afeld
Copy link

afeld commented Jan 26, 2017

Hello! I was following the instructions in the README, which say to place

any webapp and configuration must be deployed to CATALINA_HOME which defaults to /srv/tomcat/catalina/tomcat.

I thought this meant {{ tomcat_env_catalina_home }}, but that turned out to be the central Tomcat, not the instance. I ended up using "{{ ansible_local.tomcat.instances[tomcat_instance_name].catalina_base }}". Not sure if that's the simplest way to get the path, but it worked for me. Just wanted to leave it here in case anyone else was confused by this, and wonder if the documentation could help prevent people from making the same mistake. Thanks!

@afeld afeld changed the title webapp path variable how to find the webapp path? Jan 26, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant