Coder Social home page Coder Social logo

Comments (4)

 avatar commented on August 18, 2024

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.

from ansible-tomcat.

dj-wasabi avatar dj-wasabi commented on August 18, 2024

Thanks. I've added the groovy.java rol and it is working now.

from ansible-tomcat.

 avatar commented on August 18, 2024

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

from ansible-tomcat.

dj-wasabi avatar dj-wasabi commented on August 18, 2024

Sounds good! Will check it out, thanks for this update!

from ansible-tomcat.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.