Skip to content

Instantly share code, notes, and snippets.

@abadger
Created September 15, 2014 21:32
Show Gist options
  • Save abadger/9f3e1b791e2c00313bf9 to your computer and use it in GitHub Desktop.
Save abadger/9f3e1b791e2c00313bf9 to your computer and use it in GitHub Desktop.
787 if tmp_file:
788 installed = install_role(role.get("name"), role.get("version"), tmp_file, options)
789 # we're done with the temp file, clean it up
790 os.unlink(tmp_file)
791 # install dependencies, if we want them
792 if not no_deps and installed:
[....]
811 if not tmp_file or not installed:
812 if tmp_file and installed:
813 os.unlink(tmp_file)
814 print "- %s was NOT installed successfully." % role.get("name")
815 exit_without_ignore(options)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment