1
0
Fork 0

fixed the import of the module to the correct one

Dieser Commit ist enthalten in:
Sebastian Tobie 2024-02-11 20:35:06 +01:00
Ursprung dd8493d059
Commit f843ffdef3
11 geänderte Dateien mit 26 neuen und 19 gelöschten Zeilen

Datei anzeigen

@ -1,10 +1,13 @@
===================================== =====================================
sebastian.systemd 0.3.6 Release Notes sebastian.systemd 0.3.7 Release Notes
===================================== =====================================
.. contents:: Topics .. contents:: Topics
v0.3.7
======
v0.3.6 v0.3.6
====== ======

Datei anzeigen

@ -51,6 +51,10 @@ releases:
release_summary: added some ignores and changed my name release_summary: added some ignores and changed my name
release_date: "2023-12-30" release_date: "2023-12-30"
0.3.6: 0.3.6:
release_date: "2024-02-11"
changes: changes:
release_summary: fixed the import of the module utils release_summary: fixed the import of the module utils
release_date: "2024-02-11"
0.3.7:
changes:
release_summary: fixed the import path
release_date: "2024-02-11"

Datei anzeigen

@ -1,7 +1,7 @@
--- ---
namespace: sebastian namespace: sebastian
name: systemd name: systemd
version: 0.3.6 version: 0.3.7
readme: README.md readme: README.md

Datei anzeigen

@ -6,8 +6,8 @@ try:
from ansible_module.module_utils.generic import SYSTEMD_NETWORK_CONFIG, Types, modspec from ansible_module.module_utils.generic import SYSTEMD_NETWORK_CONFIG, Types, modspec
from ansible_module.module_utils.module import SystemdUnitModule from ansible_module.module_utils.module import SystemdUnitModule
except ImportError: except ImportError:
from ansible.module_utils.sebastian.base.module_utils.generic import SYSTEMD_NETWORK_CONFIG, Types, modspec from ansible_collections.sebastian.base.module_utils.generic import SYSTEMD_NETWORK_CONFIG, Types, modspec
from ansible.module_utils.sebastian.base.module_utils.module import SystemdUnitModule from ansible_collections.sebastian.base.module_utils.module import SystemdUnitModule
class Module(SystemdUnitModule): # type: ignore class Module(SystemdUnitModule): # type: ignore

Datei anzeigen

@ -6,8 +6,8 @@ try:
from ansible_module.module_utils.generic import SYSTEMD_SERVICE_CONFIG, Types, modspec from ansible_module.module_utils.generic import SYSTEMD_SERVICE_CONFIG, Types, modspec
from ansible_module.module_utils.module import SystemdReloadMixin, SystemdUnitModule, installable from ansible_module.module_utils.module import SystemdReloadMixin, SystemdUnitModule, installable
except ImportError: except ImportError:
from ansible.module_utils.sebastian.base.module_utils.generic import SYSTEMD_SERVICE_CONFIG, Types, modspec from ansible_collections.sebastian.base.module_utils.generic import SYSTEMD_SERVICE_CONFIG, Types, modspec
from ansible.module_utils.sebastian.base.module_utils.module import SystemdReloadMixin, SystemdUnitModule, installable from ansible_collections.sebastian.base.module_utils.module import SystemdReloadMixin, SystemdUnitModule, installable
SYSTEMD_SERVICE_CONFIG = pathlib.Path("/etc/systemd/system") SYSTEMD_SERVICE_CONFIG = pathlib.Path("/etc/systemd/system")

Datei anzeigen

@ -6,8 +6,8 @@ try:
from ansible_module.module_utils.generic import SYSTEMD_NETWORK_CONFIG, Types, joindict, modspec, systemdbool from ansible_module.module_utils.generic import SYSTEMD_NETWORK_CONFIG, Types, joindict, modspec, systemdbool
from ansible_module.module_utils.module import SystemdUnitModule from ansible_module.module_utils.module import SystemdUnitModule
except ImportError: except ImportError:
from ansible.module_utils.sebastian.base.module_utils.generic import SYSTEMD_NETWORK_CONFIG, Types, joindict, modspec, systemdbool from ansible_collections.sebastian.base.module_utils.generic import SYSTEMD_NETWORK_CONFIG, Types, joindict, modspec, systemdbool
from ansible.module_utils.sebastian.base.module_utils.module import SystemdUnitModule from ansible_collections.sebastian.base.module_utils.module import SystemdUnitModule
kinds = ( kinds = (
"bond", "bond",

Datei anzeigen

@ -6,8 +6,8 @@ try:
from ansible_module.module_utils.generic import SYSTEMD_NETWORK_CONFIG, Types, modspec, systemdbool from ansible_module.module_utils.generic import SYSTEMD_NETWORK_CONFIG, Types, modspec, systemdbool
from ansible_module.module_utils.module import SystemdUnitModule from ansible_module.module_utils.module import SystemdUnitModule
except ImportError: except ImportError:
from ansible.module_utils.sebastian.base.module_utils.generic import SYSTEMD_NETWORK_CONFIG, Types, modspec, systemdbool from ansible_collections.sebastian.base.module_utils.generic import SYSTEMD_NETWORK_CONFIG, Types, modspec, systemdbool
from ansible.module_utils.sebastian.base.module_utils.module import SystemdUnitModule from ansible_collections.sebastian.base.module_utils.module import SystemdUnitModule
class Module(SystemdUnitModule): # type: ignore class Module(SystemdUnitModule): # type: ignore

Datei anzeigen

@ -6,8 +6,8 @@ try:
from ansible_module.module_utils.generic import SYSTEMD_SERVICE_CONFIG, Types, modspec from ansible_module.module_utils.generic import SYSTEMD_SERVICE_CONFIG, Types, modspec
from ansible_module.module_utils.module import SystemdReloadMixin, SystemdUnitModule, installable from ansible_module.module_utils.module import SystemdReloadMixin, SystemdUnitModule, installable
except ImportError: except ImportError:
from ansible.module_utils.sebastian.base.module_utils.generic import SYSTEMD_SERVICE_CONFIG, Types, modspec from ansible_collections.sebastian.base.module_utils.generic import SYSTEMD_SERVICE_CONFIG, Types, modspec
from ansible.module_utils.sebastian.base.module_utils.module import SystemdReloadMixin, SystemdUnitModule, installable from ansible_collections.sebastian.base.module_utils.module import SystemdReloadMixin, SystemdUnitModule, installable
@installable @installable

Datei anzeigen

@ -6,8 +6,8 @@ try:
from ansible_module.module_utils.generic import SYSTEMD_SERVICE_CONFIG, Types from ansible_module.module_utils.generic import SYSTEMD_SERVICE_CONFIG, Types
from ansible_module.module_utils.module import SystemdReloadMixin, SystemdUnitModule, installable from ansible_module.module_utils.module import SystemdReloadMixin, SystemdUnitModule, installable
except ImportError: except ImportError:
from ansible.module_utils.sebastian.base.module_utils.generic import SYSTEMD_SERVICE_CONFIG, Types from ansible_collections.sebastian.base.module_utils.generic import SYSTEMD_SERVICE_CONFIG, Types
from ansible.module_utils.sebastian.base.module_utils.module import SystemdReloadMixin, SystemdUnitModule, installable from ansible_collections.sebastian.base.module_utils.module import SystemdReloadMixin, SystemdUnitModule, installable
@installable @installable

Datei anzeigen

@ -6,8 +6,8 @@ try:
from ansible_module.module_utils.generic import SYSTEMD_SERVICE_CONFIG, Types, systemdbool from ansible_module.module_utils.generic import SYSTEMD_SERVICE_CONFIG, Types, systemdbool
from ansible_module.module_utils.module import SystemdReloadMixin, SystemdUnitModule, installable from ansible_module.module_utils.module import SystemdReloadMixin, SystemdUnitModule, installable
except ImportError: except ImportError:
from ansible.module_utils.sebastian.base.module_utils.generic import SYSTEMD_SERVICE_CONFIG, Types, systemdbool from ansible_collections.sebastian.base.module_utils.generic import SYSTEMD_SERVICE_CONFIG, Types, systemdbool
from ansible.module_utils.sebastian.base.module_utils.module import SystemdReloadMixin, SystemdUnitModule, installable from ansible_collections.sebastian.base.module_utils.module import SystemdReloadMixin, SystemdUnitModule, installable
__module_name__ = "TargetModule" __module_name__ = "TargetModule"

Datei anzeigen

@ -6,8 +6,8 @@ try:
from ansible_module.module_utils.generic import SYSTEMD_SERVICE_CONFIG, Types, modpec from ansible_module.module_utils.generic import SYSTEMD_SERVICE_CONFIG, Types, modpec
from ansible_module.module_utils.module import SystemdReloadMixin, SystemdUnitModule, installable from ansible_module.module_utils.module import SystemdReloadMixin, SystemdUnitModule, installable
except ImportError: except ImportError:
from ansible.module_utils.sebastian.base.module_utils.generic import SYSTEMD_SERVICE_CONFIG, Types, modpec from ansible_collections.sebastian.base.module_utils.generic import SYSTEMD_SERVICE_CONFIG, Types, modpec
from ansible.module_utils.sebastian.base.module_utils.module import SystemdReloadMixin, SystemdUnitModule, installable from ansible_collections.sebastian.base.module_utils.module import SystemdReloadMixin, SystemdUnitModule, installable
@installable @installable