Commits vergleichen

..

Keine gemeinsamen Commits. "1da65334e2f614165a4d541af89210b5e426b071" und "cd1d5aa84e1f6c916c3eccd107161646fba2c764" haben vollständig unterschiedliche Historien.

8 geänderte Dateien mit 1 neuen und 23 gelöschten Zeilen

Datei anzeigen

@ -9,14 +9,10 @@ releases:
0.3.0: 0.3.0:
changes: changes:
release_summary: rewrote the Types helper release_summary: rewrote the Types helper
fragments:
- types.yml
release_date: "2024-02-24" release_date: "2024-02-24"
0.3.1: 0.3.1:
changes: changes:
release_summary: removed forgotten print calls release_summary: removed forgotten print calls
fragments:
- print_calls.yml
release_date: "2024-02-24" release_date: "2024-02-24"
0.4.0: 0.4.0:
release_date: "2024-03-08" release_date: "2024-03-08"
@ -24,5 +20,3 @@ releases:
release_summary: | release_summary: |
to prevent empty sections, the install and header methods return None if the method would just the scetion to prevent empty sections, the install and header methods return None if the method would just the scetion
header header
fragments:
- sectioning.yml

Datei anzeigen

@ -3,7 +3,7 @@ changelog_filename_version_depth: 0
changes_file: changelog.yaml changes_file: changelog.yaml
changes_format: combined changes_format: combined
ignore_other_fragment_extensions: true ignore_other_fragment_extensions: true
keep_fragments: true keep_fragments: false
mention_ancestor: true mention_ancestor: true
new_plugins_after_name: removed_features new_plugins_after_name: removed_features
notesdir: fragments notesdir: fragments

Datei anzeigen

@ -1,2 +0,0 @@
---
release_summary: change the module to an ansible module

Datei anzeigen

@ -1,2 +0,0 @@
---
release_summary: added an default Display to the module

Datei anzeigen

@ -1,2 +0,0 @@
---
release_summary: removed forgotten print calls

Datei anzeigen

@ -1,4 +0,0 @@
---
release_summary: |
to prevent empty sections, the install and header methods return None if the method would just the scetion
header

Datei anzeigen

@ -1,2 +0,0 @@
---
release_summary: rewrote the Types helper

Datei anzeigen

@ -1,7 +1,6 @@
import pathlib import pathlib
from copy import deepcopy from copy import deepcopy
from typing import Any, Callable, ClassVar, Dict, NoReturn, Optional, Type, TypeVar, Union, overload from typing import Any, Callable, ClassVar, Dict, NoReturn, Optional, Type, TypeVar, Union, overload
from ansible.utils.display import Display
import ansible.module_utils.basic as basic import ansible.module_utils.basic as basic
@ -56,8 +55,6 @@ class AnsibleModule(object):
module_spec: ClassVar[dict] module_spec: ClassVar[dict]
#: This is set by classes that define common things for their subclasses, like behaviour of the run and check methods. This is used by `SystemdUnitModule` #: This is set by classes that define common things for their subclasses, like behaviour of the run and check methods. This is used by `SystemdUnitModule`
_common_args: ClassVar[dict[str, Any]] = dict() _common_args: ClassVar[dict[str, Any]] = dict()
#: For log messages
display: Display
@property @property
def params(self) -> Dict[str, Any]: def params(self) -> Dict[str, Any]:
@ -73,7 +70,6 @@ class AnsibleModule(object):
specs["argument_spec"].update(modspec["argument_spec"]) specs["argument_spec"].update(modspec["argument_spec"])
del modspec["argument_spec"] del modspec["argument_spec"]
specs.update(modspec) specs.update(modspec)
self.display = Display()
self.module = basic.AnsibleModule(**specs) self.module = basic.AnsibleModule(**specs)
self.tmpdir = pathlib.Path(self.module.tmpdir) self.tmpdir = pathlib.Path(self.module.tmpdir)