1
0
Fork 0

another fix for the import

Dieser Commit ist enthalten in:
Sebastian Tobie 2024-02-11 20:59:50 +01:00
Ursprung f843ffdef3
Commit 872e1c1883
10 geänderte Dateien mit 27 neuen und 17 gelöschten Zeilen

Datei anzeigen

@ -58,3 +58,7 @@ releases:
changes: changes:
release_summary: fixed the import path release_summary: fixed the import path
release_date: "2024-02-11" release_date: "2024-02-11"
0.3.8:
changes:
release_summary: fixed the import again.
release_date: "2024-02-11"

Datei anzeigen

@ -1,7 +1,7 @@
--- ---
namespace: sebastian namespace: sebastian
name: systemd name: systemd
version: 0.3.7 version: 0.3.8
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_collections.sebastian.base.module_utils.generic import SYSTEMD_NETWORK_CONFIG, Types, modspec from ansible_collections.sebastian.base.plugins.module_utils.generic import SYSTEMD_NETWORK_CONFIG, Types, modspec
from ansible_collections.sebastian.base.module_utils.module import SystemdUnitModule from ansible_collections.sebastian.base.plugins.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_collections.sebastian.base.module_utils.generic import SYSTEMD_SERVICE_CONFIG, Types, modspec from ansible_collections.sebastian.base.plugins.module_utils.generic import SYSTEMD_SERVICE_CONFIG, Types, modspec
from ansible_collections.sebastian.base.module_utils.module import SystemdReloadMixin, SystemdUnitModule, installable from ansible_collections.sebastian.base.plugins.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,14 @@ 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_collections.sebastian.base.module_utils.generic import SYSTEMD_NETWORK_CONFIG, Types, joindict, modspec, systemdbool from ansible_collections.sebastian.base.plugins.module_utils.generic import (
from ansible_collections.sebastian.base.module_utils.module import SystemdUnitModule SYSTEMD_NETWORK_CONFIG,
Types,
joindict,
modspec,
systemdbool,
)
from ansible_collections.sebastian.base.plugins.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_collections.sebastian.base.module_utils.generic import SYSTEMD_NETWORK_CONFIG, Types, modspec, systemdbool from ansible_collections.sebastian.base.plugins.module_utils.generic import SYSTEMD_NETWORK_CONFIG, Types, modspec, systemdbool
from ansible_collections.sebastian.base.module_utils.module import SystemdUnitModule from ansible_collections.sebastian.base.plugins.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_collections.sebastian.base.module_utils.generic import SYSTEMD_SERVICE_CONFIG, Types, modspec from ansible_collections.sebastian.base.plugins.module_utils.generic import SYSTEMD_SERVICE_CONFIG, Types, modspec
from ansible_collections.sebastian.base.module_utils.module import SystemdReloadMixin, SystemdUnitModule, installable from ansible_collections.sebastian.base.plugins.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_collections.sebastian.base.module_utils.generic import SYSTEMD_SERVICE_CONFIG, Types from ansible_collections.sebastian.base.plugins.module_utils.generic import SYSTEMD_SERVICE_CONFIG, Types
from ansible_collections.sebastian.base.module_utils.module import SystemdReloadMixin, SystemdUnitModule, installable from ansible_collections.sebastian.base.plugins.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_collections.sebastian.base.module_utils.generic import SYSTEMD_SERVICE_CONFIG, Types, systemdbool from ansible_collections.sebastian.base.plugins.module_utils.generic import SYSTEMD_SERVICE_CONFIG, Types, systemdbool
from ansible_collections.sebastian.base.module_utils.module import SystemdReloadMixin, SystemdUnitModule, installable from ansible_collections.sebastian.base.plugins.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_collections.sebastian.base.module_utils.generic import SYSTEMD_SERVICE_CONFIG, Types, modpec from ansible_collections.sebastian.base.plugins.module_utils.generic import SYSTEMD_SERVICE_CONFIG, Types, modpec
from ansible_collections.sebastian.base.module_utils.module import SystemdReloadMixin, SystemdUnitModule, installable from ansible_collections.sebastian.base.plugins.module_utils.module import SystemdReloadMixin, SystemdUnitModule, installable
@installable @installable