Closed dj-wasabi closed 9 years ago
Hi, this is currently a design flaw in the role. java_home fact is not available to the tomcat role, if groover.java is not part of the playbook. java_home
is set with set_fact in groover.java. Tomcat role should use ansible_local['java']['general']['java_home']
as your facts already told you.
Thanks. I've added the groovy.java rol and it is working now.
Hi, just updated tomcat role to version 0.5.0. This uses the java local facts now in any template. This allows to either configure /etc/ansible/facts.d/java.fact manually and have the tomcat role working without implicit dependencies to the groover.java role, or to have a dependency to groover.java without the need to have the java role run in each play (e.g. using --tags tomcat).
Sounds good! Will check it out, thanks for this update!
Hi there,
I'm trying to setup the module, but I think I'm or doing wrong or I forget someting. Ik get the following error message:
I did setup the facts file:
When I run the setup:
The directories does exists though...
What am I doing wrong or missing?
Kind regards, Werner