Merge pull request #2323 from laixer/devel
Respect gem_source option if specified
This commit is contained in:
commit
bd600c1cbc
1 changed files with 1 additions and 1 deletions
|
@ -151,7 +151,7 @@ def main():
|
||||||
if module.params['gem_source'] and module.params['state'] == 'latest':
|
if module.params['gem_source'] and module.params['state'] == 'latest':
|
||||||
module.fail_json(msg="Cannot maintain state=latest when installing from local source")
|
module.fail_json(msg="Cannot maintain state=latest when installing from local source")
|
||||||
|
|
||||||
if module.params['gem_source'] is not 'null':
|
if not module.params['gem_source']:
|
||||||
module.params['gem_source'] = module.params['name']
|
module.params['gem_source'] = module.params['name']
|
||||||
|
|
||||||
changed = False
|
changed = False
|
||||||
|
|
Loading…
Reference in a new issue