Hi I am new to Ansible so apologies if I am going about this the wrong way. I am creating a project with two roles. A 'java' role and a 'jetty' role. Jetty has a dependency on java being installed so I was going to model it as a role dependency.
The problem I have is that the Jetty runtime has a runtime dependency on JAVA_HOME which may change if a newer version of java is installed - this newer version of Java deployment will break the Jetty runtime. I can fix this by re-running the 'jetty' role (which inherits the JAVA_HOME data from its child 'java' role) thereby updating its config. Other users of my automation may not know of this implicit dependency and would not re-execute 'jetty' I was wondering if this is a scenario that others have come across? Any help would be appreciated. Richard. -- 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/fb8f64d7-18f2-4b7d-9934-8034f387e9b8%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
