diff --git a/plugins/modules/link.py b/plugins/modules/link.py index d776441..823ccca 100644 --- a/plugins/modules/link.py +++ b/plugins/modules/link.py @@ -3,8 +3,8 @@ import pathlib from typing import List try: - from ansible_module.generic import SYSTEMD_NETWORK_CONFIG, Types, modspec - from ansible_module.module import SystemdUnitModule + from ansible_module.module_utils.generic import SYSTEMD_NETWORK_CONFIG, Types, modspec + from ansible_module.module_utils.module import SystemdUnitModule except ImportError: from ansible.module_utils.sebastian.base.module_utils.generic import SYSTEMD_NETWORK_CONFIG, Types, modspec from ansible.module_utils.sebastian.base.module_utils.module import SystemdUnitModule diff --git a/plugins/modules/mount.py b/plugins/modules/mount.py index 93b62ac..0617a82 100644 --- a/plugins/modules/mount.py +++ b/plugins/modules/mount.py @@ -3,8 +3,8 @@ import pathlib from typing import List, Optional try: - from ansible_module.generic import SYSTEMD_SERVICE_CONFIG, Types, modspec - from ansible_module.module import SystemdReloadMixin, SystemdUnitModule, installable + from ansible_module.module_utils.generic import SYSTEMD_SERVICE_CONFIG, Types, modspec + from ansible_module.module_utils.module import SystemdReloadMixin, SystemdUnitModule, installable except ImportError: from ansible.module_utils.sebastian.base.module_utils.generic import SYSTEMD_SERVICE_CONFIG, Types, modspec from ansible.module_utils.sebastian.base.module_utils.module import SystemdReloadMixin, SystemdUnitModule, installable diff --git a/plugins/modules/netdev.py b/plugins/modules/netdev.py index 2db9027..9ab0459 100644 --- a/plugins/modules/netdev.py +++ b/plugins/modules/netdev.py @@ -3,8 +3,8 @@ import pathlib from typing import List, Optional try: - from ansible_module.generic import SYSTEMD_NETWORK_CONFIG, Types, joindict, modspec, systemdbool - from ansible_module.module import SystemdUnitModule + from ansible_module.module_utils.generic import SYSTEMD_NETWORK_CONFIG, Types, joindict, modspec, systemdbool + from ansible_module.module_utils.module import SystemdUnitModule except ImportError: from ansible.module_utils.sebastian.base.module_utils.generic import SYSTEMD_NETWORK_CONFIG, Types, joindict, modspec, systemdbool from ansible.module_utils.sebastian.base.module_utils.module import SystemdUnitModule diff --git a/plugins/modules/network.py b/plugins/modules/network.py index 0e0c67c..3051a84 100644 --- a/plugins/modules/network.py +++ b/plugins/modules/network.py @@ -3,8 +3,8 @@ import pathlib from typing import List, Union try: - from ansible_module.generic import SYSTEMD_NETWORK_CONFIG, Types, modspec, systemdbool - from ansible_module.module import SystemdUnitModule + from ansible_module.module_utils.generic import SYSTEMD_NETWORK_CONFIG, Types, modspec, systemdbool + from ansible_module.module_utils.module import SystemdUnitModule except ImportError: from ansible.module_utils.sebastian.base.module_utils.generic import SYSTEMD_NETWORK_CONFIG, Types, modspec, systemdbool from ansible.module_utils.sebastian.base.module_utils.module import SystemdUnitModule diff --git a/plugins/modules/socket.py b/plugins/modules/socket.py index 61ea93c..7cf7d2a 100644 --- a/plugins/modules/socket.py +++ b/plugins/modules/socket.py @@ -3,8 +3,8 @@ import pathlib from typing import List, Union try: - from ansible_module.generic import SYSTEMD_SERVICE_CONFIG, Types, modspec - from ansible_module.module import SystemdReloadMixin, SystemdUnitModule, installable + from ansible_module.module_utils.generic import SYSTEMD_SERVICE_CONFIG, Types, modspec + from ansible_module.module_utils.module import SystemdReloadMixin, SystemdUnitModule, installable except ImportError: from ansible.module_utils.sebastian.base.module_utils.generic import SYSTEMD_SERVICE_CONFIG, Types, modspec from ansible.module_utils.sebastian.base.module_utils.module import SystemdReloadMixin, SystemdUnitModule, installable diff --git a/plugins/modules/system_service.py b/plugins/modules/system_service.py index 97a8053..716ce65 100644 --- a/plugins/modules/system_service.py +++ b/plugins/modules/system_service.py @@ -3,8 +3,8 @@ import pathlib from typing import List, Union try: - from ansible_module.generic import SYSTEMD_SERVICE_CONFIG, Types - from ansible_module.module import SystemdReloadMixin, SystemdUnitModule, installable + from ansible_module.module_utils.generic import SYSTEMD_SERVICE_CONFIG, Types + from ansible_module.module_utils.module import SystemdReloadMixin, SystemdUnitModule, installable except ImportError: from ansible.module_utils.sebastian.base.module_utils.generic import SYSTEMD_SERVICE_CONFIG, Types from ansible.module_utils.sebastian.base.module_utils.module import SystemdReloadMixin, SystemdUnitModule, installable diff --git a/plugins/modules/target.py b/plugins/modules/target.py index 98a0c41..c352074 100644 --- a/plugins/modules/target.py +++ b/plugins/modules/target.py @@ -3,8 +3,8 @@ import pathlib from typing import List, Union try: - from ansible_module.generic import SYSTEMD_SERVICE_CONFIG, Types, systemdbool - from ansible_module.module import SystemdReloadMixin, SystemdUnitModule, installable + from ansible_module.module_utils.generic import SYSTEMD_SERVICE_CONFIG, Types, systemdbool + from ansible_module.module_utils.module import SystemdReloadMixin, SystemdUnitModule, installable except ImportError: from ansible.module_utils.sebastian.base.module_utils.generic import SYSTEMD_SERVICE_CONFIG, Types, systemdbool from ansible.module_utils.sebastian.base.module_utils.module import SystemdReloadMixin, SystemdUnitModule, installable diff --git a/plugins/modules/unit.py.example b/plugins/modules/unit.py.example index 592e30d..2b6fe52 100644 --- a/plugins/modules/unit.py.example +++ b/plugins/modules/unit.py.example @@ -3,8 +3,8 @@ import pathlib from typing import List, Union try: - from ansible_module.generic import SYSTEMD_SERVICE_CONFIG, Types, modpec - from ansible_module.module import SystemdReloadMixin, SystemdUnitModule, installable + from ansible_module.module_utils.generic import SYSTEMD_SERVICE_CONFIG, Types, modpec + from ansible_module.module_utils.module import SystemdReloadMixin, SystemdUnitModule, installable except ImportError: from ansible.module_utils.sebastian.base.module_utils.generic import SYSTEMD_SERVICE_CONFIG, Types, modpec from ansible.module_utils.sebastian.base.module_utils.module import SystemdReloadMixin, SystemdUnitModule, installable