Fixes for git module when it fails.

* module.fail_json *must* have msg argument
Using http://github.com/ rather than git://github.com/ as it gets through more
firewalls
This commit is contained in:
u348095 2012-07-31 12:51:26 +10:00
parent d79ba6f2aa
commit e863ba0cec
2 changed files with 5 additions and 5 deletions

View file

@ -191,7 +191,7 @@ class TestRunner(unittest.TestCase):
def test_git(self):
if not get_binary("yum"):
raise SkipTest
repo = 'git://github.com/ansible/ansible.git'
repo = 'http://github.com/ansible/ansible.git'
dest = tempfile.mkdtemp()
result = self._run('git', ['repo=%s' % repo, 'dest=%s' % dest])
assert 'failed' not in result