1
0
Fork 0

removed msg from the module class

Dieser Commit ist enthalten in:
Sebastian Tobie 2023-04-15 09:42:23 +02:00
Ursprung e3a4c894ea
Commit 70391419f6
1 geänderte Dateien mit 0 neuen und 3 gelöschten Zeilen

Datei anzeigen

@ -20,8 +20,6 @@ class AnsibleModule(object):
name: ClassVar[str] name: ClassVar[str]
#: The AnsibleModule for this Module #: The AnsibleModule for this Module
module: basic.AnsibleModule 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 #: 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 result: dict
#: the specification of the arguments. Subclasses that are usable Modules must set this value. #: 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._common_args)
specs.update(self.module_spec) specs.update(self.module_spec)
self.module = basic.AnsibleModule(**specs) self.module = basic.AnsibleModule(**specs)
self.msg = ""
self.tmpdir = pathlib.Path(self.module.tmpdir) self.tmpdir = pathlib.Path(self.module.tmpdir)
def set(self, key: str, value): def set(self, key: str, value):