mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-23 13:20:23 -07:00
Merge pull request #8959 from willthames/galaxy_ssh_clone
Allow fairly common ssh repo clone path to work
This commit is contained in:
commit
889dfc4374
4 changed files with 10 additions and 13 deletions
|
@ -704,14 +704,6 @@ def execute_install(args, options, parser):
|
|||
print "- please specify a user/role name, or a roles file, but not both"
|
||||
sys.exit(1)
|
||||
|
||||
# error checking to ensure the specified roles path exists and is a directory
|
||||
if not os.path.exists(roles_path):
|
||||
print "- the specified role path %s does not exist" % roles_path
|
||||
sys.exit(1)
|
||||
elif not os.path.isdir(roles_path):
|
||||
print "- the specified role path %s is not a directory" % roles_path
|
||||
sys.exit(1)
|
||||
|
||||
roles_done = []
|
||||
if role_file:
|
||||
f = open(role_file, 'r')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue