mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Remove duplicate call to remove tmp role file
This commit is contained in:
parent
1e68041f9c
commit
c6b26ff7c7
1 changed files with 0 additions and 2 deletions
|
@ -810,8 +810,6 @@ def execute_install(args, options, parser):
|
|||
else:
|
||||
print '- dependency %s is already installed, skipping.' % dep["name"]
|
||||
if not tmp_file or not installed:
|
||||
if tmp_file and installed:
|
||||
os.unlink(tmp_file)
|
||||
print "- %s was NOT installed successfully." % role.get("name")
|
||||
exit_without_ignore(options)
|
||||
sys.exit(0)
|
||||
|
|
Loading…
Reference in a new issue