diff options
author | Toshio Kuratomi <toshio@fedoraproject.org> | 2014-10-09 03:11:46 -0400 |
---|---|---|
committer | Toshio Kuratomi <toshio@fedoraproject.org> | 2014-10-09 03:11:46 -0400 |
commit | e91e30cd5e457ef702ac7de1e07698dcfb1f9336 (patch) | |
tree | 2fba9901f6682bf055ecb346ac4fbee9d351d4b5 /bin | |
parent | 48a308a87cf42cd1a88a808e67772460dcb22ac6 (diff) | |
download | ansible-e91e30cd5e457ef702ac7de1e07698dcfb1f9336.tar.gz |
Fix unspecified role versions.
Fixes #9236
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/ansible-galaxy | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ansible-galaxy b/bin/ansible-galaxy index adc93166bf..9018e6c205 100755 --- a/bin/ansible-galaxy +++ b/bin/ansible-galaxy @@ -755,7 +755,7 @@ def execute_install(args, options, parser): continue role_versions = api_fetch_role_related(api_server, 'versions', role_data['id']) - if "version" not in role: + if "version" not in role or role['version'] == '': # convert the version names to LooseVersion objects # and sort them to get the latest version. If there # are no versions in the list, we'll grab the head |