mirror of
https://github.com/ansible-collections/hetzner.hcloud.git
synced 2026-02-04 08:01:49 +00:00
refactor: use relative imports for local modules (#279)
This commit is contained in:
parent
d867192b12
commit
64b6804b41
33 changed files with 106 additions and 152 deletions
|
|
@ -121,11 +121,9 @@ from ansible.errors import AnsibleError
|
|||
from ansible.module_utils.common.text.converters import to_native
|
||||
from ansible.plugins.inventory import BaseInventoryPlugin, Constructable
|
||||
from ansible.release import __version__
|
||||
from ansible_collections.hetzner.hcloud.plugins.module_utils.hcloud import (
|
||||
HAS_DATEUTIL,
|
||||
HAS_REQUESTS,
|
||||
)
|
||||
from ansible_collections.hetzner.hcloud.plugins.module_utils.vendor import hcloud
|
||||
|
||||
from ..module_utils.hcloud import HAS_DATEUTIL, HAS_REQUESTS
|
||||
from ..module_utils.vendor import hcloud
|
||||
|
||||
|
||||
class InventoryModule(BaseInventoryPlugin, Constructable):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue