plugins/inventory/freeipa: Try imports for requests and urllib3
The bindings for requests and urllib3 might not be available, especially in the ansible-test fake execution test (next version). These imports are now in a try exception clause to make sure that the fake execution test will be passing and also that there is a better error message if the bindings are missing. urllib3.exceptions.InsecureRequestWarning is now also only disabled if no certificate has been given for the verification of the connection.
Loading
Please register or sign in to comment