mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-06 02:33:09 +00:00
Honouring verify_ssl when using username/password for authentication …
This commit is contained in:
committed by
Matt Clay
parent
c6e8b9a0b7
commit
fb3e970bd3
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user