From 70391419f6a9e840c22c450442b28c6243506174 Mon Sep 17 00:00:00 2001 From: Sebastian Tobie Date: Sat, 15 Apr 2023 09:42:23 +0200 Subject: [PATCH] removed msg from the module class --- plugins/module_utils/module.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/plugins/module_utils/module.py b/plugins/module_utils/module.py index 3f3ee09..ebc20de 100644 --- a/plugins/module_utils/module.py +++ b/plugins/module_utils/module.py @@ -20,8 +20,6 @@ class AnsibleModule(object): name: ClassVar[str] #: The AnsibleModule for this Module module: basic.AnsibleModule - #: TODO - msg: str #: The result of this Module call. It always contains the changed key, so in any case an Module can report if it changed anything result: dict #: the specification of the arguments. Subclasses that are usable Modules must set this value. @@ -40,7 +38,6 @@ class AnsibleModule(object): specs.update(self._common_args) specs.update(self.module_spec) self.module = basic.AnsibleModule(**specs) - self.msg = "" self.tmpdir = pathlib.Path(self.module.tmpdir) def set(self, key: str, value):