Add validate_certs options to gitlab_user and gitlab_group modules (#21415)

pull/21663/head
Aliaksandr Kharkevich 9 years ago committed by René Moser
parent bd036c15e0
commit 7bc7f13856

@ -191,7 +191,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)

@ -331,7 +331,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)

Loading…
Cancel
Save