Handle older git archive commands

Older git archive commands create tar archives even with a tar.gz
extension. So change it to always create tar archives and have
the install_role method cope.

Removed ssh roles from the test case as they don't work unless
you can connect to bitbucket via ssh and have your key there.

Corrected a minor typo in error messages
This commit is contained in:
Will Thames 2014-08-19 16:06:46 +10:00 committed by Michael DeHaan
commit 31540246dd
3 changed files with 8 additions and 5 deletions

View file

@ -1,7 +1,7 @@
- src: git+http://bitbucket.org/willthames/git-ansible-galaxy
version: v1.4
- src: ssh://hg@bitbucket.org/willthames/hg-ansible-galaxy
- src: http://bitbucket.org/willthames/hg-ansible-galaxy
scm: hg
- src: https://bitbucket.org/willthames/http-ansible-galaxy/get/master.tar.gz

View file

@ -1,3 +1,3 @@
git+http://bitbucket.org/willthames/git-ansible-galaxy,v1.4
hg+ssh://hg@bitbucket.org/willthames/hg-ansible-galaxy
hg+http://bitbucket.org/willthames/hg-ansible-galaxy
https://bitbucket.org/willthames/http-ansible-galaxy/get/master.tar.gz,,http-role