From 5b28e7b3976a03c1d45d38fe9f02e169a4dd280e Mon Sep 17 00:00:00 2001 From: sean-m-ssullivan Date: Tue, 28 Sep 2021 11:43:28 -0400 Subject: [PATCH] simplify module utils files --- awx_collection/plugins/module_utils/controller_api.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/awx_collection/plugins/module_utils/controller_api.py b/awx_collection/plugins/module_utils/controller_api.py index 68531bcc9d..ba542f00fe 100644 --- a/awx_collection/plugins/module_utils/controller_api.py +++ b/awx_collection/plugins/module_utils/controller_api.py @@ -27,6 +27,7 @@ try: except ImportError: HAS_YAML = False + class ConfigFileException(Exception): pass @@ -284,6 +285,7 @@ class ControllerModule(AnsibleModule): else: super().warn(warning) + class ControllerAPIModule(ControllerModule): # TODO: Move the collection version check into controller_module.py # This gets set by the make process so whatever is in here is irrelevant