Current version of module_utils/cm_utils.py has both controller-only code (for the base Lookup class) and general code (for the base Module class). Any module that extends the latter will fail to run in a non-controller environment since the imports like ansible.utils.display are not available. Need to split out the controller-only into its own file.
Current version of
module_utils/cm_utils.py
has both controller-only code (for the baseLookup
class) and general code (for the baseModule
class). Any module that extends the latter will fail to run in a non-controller environment since the imports likeansible.utils.display
are not available. Need to split out the controller-only into its own file.