removed msg from the module class
Dieser Commit ist enthalten in:
Ursprung
e3a4c894ea
Commit
70391419f6
|
@ -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):
|
||||||
|
|
Laden…
In neuem Issue referenzieren