hoborglabs / ansible_gocd_agent

GO CD Agent
0 stars 0 forks source link

Meta dependency cannot be satisfied #1

Open migibert opened 9 years ago

migibert commented 9 years ago

As long as this role declares a dependency to the "java" role, ansible-galaxy will try to find it and play it when playing this role, but java role does not exist in galaxy.

To workaround, I modified the meta dependency on my machine to declare this one "geerlingguy.java" but I don't know if this is the one you had in mind.

Another solution is simply to remove the dependency and write it in the README, so users can choose any java installation they want and move this reponsibility out of this role scope.

Or maybe I missed something ?

wojtek-oledzki commented 9 years ago

sorry for that, it's on my todo list, just got a really busy month.

I had a local java role, but I will update the role to use most popular oracle java role.

migibert commented 9 years ago

No problem, this role is nice and suits my needs ;)

However, I think it would be better to let the user choose its java installation, it looks more coherent with the current implementation that let the user override java_home location.

wojtek-oledzki commented 8 years ago

@migibert can you switch to https://github.com/ansible-city/gocd_agent. This repo will be deleted in next few weeks

The new repo has a fix for java install. Simply set gocd_agent.dependencies.skip_java = yes if you want to install java yourself. If you don't set it, it will use ansible-city/java which installs Oracle Java.