mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user