1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Ensured that role version can be specified in role dependencies

This commit is contained in:
Will Thames 2014-08-14 20:38:40 +10:00 committed by Michael DeHaan
parent c2fe33f9f4
commit 1803976a40
2 changed files with 4 additions and 1 deletions

View file

@ -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:

View file

@ -1,2 +1,2 @@
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