Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
ansible
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
ansible
Commits
d6a72565
Commit
d6a72565
authored
10 years ago
by
Will Thames
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow github style ssh repo names
parent
537472f4
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
1 deletions
+7
-1
lib/ansible/utils/__init__.py
+1
-1
test/integration/galaxy_roles.yml
+5
-0
test/integration/galaxy_rolesfile
+1
-0
No files found.
lib/ansible/utils/__init__.py
View file @
d6a72565
...
...
@@ -362,7 +362,7 @@ def repo_url_to_role_name(repo_url):
# gets the role name out of a repo like
# http://git.example.com/repos/repo.git" => "repo"
if
'://'
not
in
repo_url
:
if
'://'
not
in
repo_url
and
'@'
not
in
repo_url
:
return
repo_url
trailing_path
=
repo_url
.
split
(
'/'
)[
-
1
]
if
trailing_path
.
endswith
(
'.git'
):
...
...
This diff is collapsed.
Click to expand it.
test/integration/galaxy_roles.yml
View file @
d6a72565
...
...
@@ -6,3 +6,8 @@
-
src
:
https://bitbucket.org/willthames/http-ansible-galaxy/get/master.tar.gz
name
:
http-role
-
src
:
git@github.com:geerlingguy/ansible-role-php.git
scm
:
git
name
:
php
This diff is collapsed.
Click to expand it.
test/integration/galaxy_rolesfile
View file @
d6a72565
git+http://bitbucket.org/willthames/git-ansible-galaxy,v1.4
hg+http://bitbucket.org/willthames/hg-ansible-galaxy
https://bitbucket.org/willthames/http-ansible-galaxy/get/master.tar.gz,,http-role
git+git@github.com:geerlingguy/ansible-role-php.git
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment