mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
ignore_ssl returned to _get_session
This commit is contained in:
parent
06e68bfa4f
commit
46203c630c
1 changed files with 8 additions and 1 deletions
|
@ -151,8 +151,15 @@ def _get_session():
|
|||
__opts__,
|
||||
search_global=False
|
||||
)
|
||||
ignore_ssl = config.get_cloud_config_value(
|
||||
'ignore_ssl',
|
||||
get_configured_provider(),
|
||||
__opts__,
|
||||
default=False,
|
||||
search_global=False
|
||||
)
|
||||
try:
|
||||
session = XenAPI.Session(url)
|
||||
session = XenAPI.Session(url, ignore_ssl=ignore_ssl)
|
||||
log.debug('url: {} user: {} password: {}, originator: {}'.format(
|
||||
url,
|
||||
user,
|
||||
|
|
Loading…
Add table
Reference in a new issue