From fb3e970bd37a405f2ac98a865acf035e547ef57c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20Magnus=20Landr=C3=B8?= Date: Thu, 21 Apr 2016 21:51:55 +0200 Subject: [PATCH] =?UTF-8?q?Honouring=20verify=5Fssl=20when=20using=20usern?= =?UTF-8?q?ame/password=20for=20authentication=20=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/ansible/modules/extras/source_control/gitlab_project.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/extras/source_control/gitlab_project.py b/lib/ansible/modules/extras/source_control/gitlab_project.py index 602b9e832d..4f016bc123 100644 --- a/lib/ansible/modules/extras/source_control/gitlab_project.py +++ b/lib/ansible/modules/extras/source_control/gitlab_project.py @@ -357,7 +357,7 @@ def main(): # or with login_token try: if use_credentials: - git = gitlab.Gitlab(host=server_url) + git = gitlab.Gitlab(host=server_url, verify_ssl=verify_ssl) git.login(user=login_user, password=login_password) else: git = gitlab.Gitlab(server_url, token=login_token, verify_ssl=verify_ssl)