Skip to content

Commit 8cb1fb8

Browse files
author
tpierre
committed
fix(proxmox.py): validate_certs in session.get args
1 parent 152339a commit 8cb1fb8

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
bugfixes:
2+
- proxmox inventory plugin - fix connection without certificates

plugins/inventory/proxmox.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ def _get_json(self, url, ignore_errors=None):
312312
data = []
313313
s = self._get_session()
314314
while True:
315-
ret = s.get(url, headers=self.headers)
315+
ret = s.get(url, headers=self.headers, verify=s.verify)
316316
if ignore_errors and ret.status_code in ignore_errors:
317317
break
318318
ret.raise_for_status()

0 commit comments

Comments
 (0)