mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-26 04:11:25 -07: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:
parent
d79ba6f2aa
commit
e863ba0cec
2 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue