Commit 1803976a by Will Thames Committed by Michael DeHaan

Ensured that role version can be specified in role dependencies

parent c2fe33f9
......@@ -182,6 +182,9 @@ class Play(object):
# dependency name pointing to SCM URL
# assume role name is last part of the URL
orig_path = utils.repo_url_to_role_name(orig_path)
if ',' in orig_path:
# version information for role dependency used by galaxy
orig_path = orig_path.split(',')[0]
role_vars = {}
if type(orig_path) == dict:
......
git+http://bitbucket.org/willthames/git-ansible-galaxy,v1.2
git+http://bitbucket.org/willthames/git-ansible-galaxy,v1.3
hg+ssh://hg@bitbucket.org/willthames/hg-ansible-galaxy
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment