Skip to content
Commit 98ba8821 authored by Thomas Woerner's avatar Thomas Woerner
Browse files

ipasmartcard_client_get_vars: Fix for ansible-test fake execution test

All imports that are only available after installing IPA need to be in a
try exception clause to be able to pass the fake execution test.

If the imports can not be done, all used and needed attributes are
defined with the value None, MODULE_IMPORT_ERROR is set to the import
error and fail_json is called.
parent 433d1096
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment