Commit 1e68041f by Toshio Kuratomi

Merge pull request #8995 from mscherer/fix_galaxy

Do not remove local role file if given on the commandline
parents 49a6af13 b9acaccc
...@@ -787,7 +787,8 @@ def execute_install(args, options, parser): ...@@ -787,7 +787,8 @@ def execute_install(args, options, parser):
if tmp_file: if tmp_file:
installed = install_role(role.get("name"), role.get("version"), tmp_file, options) installed = install_role(role.get("name"), role.get("version"), tmp_file, options)
# we're done with the temp file, clean it up # we're done with the temp file, clean it up
os.unlink(tmp_file) if tmp_file != role_src:
os.unlink(tmp_file)
# install dependencies, if we want them # install dependencies, if we want them
if not no_deps and installed: if not no_deps and installed:
if not role_data: if not role_data:
......
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