1
0
Fork 0
mirror of https://github.com/ansible-collections/hetzner.hcloud.git synced 2026-02-04 08:01:49 +00:00

refactor: move module vars out of __init__ (#336)

##### SUMMARY

- move module vars out of `__init__`
- add modules type hints
- catch hcloud exception for api calls
This commit is contained in:
Jonas L 2023-09-26 09:41:01 +02:00 committed by GitHub
parent 4ae557c287
commit 94190ae6cb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
33 changed files with 250 additions and 132 deletions

View file

@ -6,7 +6,7 @@ from ansible_collections.hetzner.hcloud.plugins.module_utils.hcloud import Ansib
from ansible_collections.hetzner.hcloud.plugins.module_utils.vendor.hcloud import (
APIException,
)
from ansible_collections.hetzner.hcloud.plugins.module_utils.vendor.hcloud.actions.domain import (
from ansible_collections.hetzner.hcloud.plugins.module_utils.vendor.hcloud.actions import (
Action,
ActionException,
ActionFailedException,