mirror of
https://github.com/ansible-collections/hetzner.hcloud.git
synced 2026-02-04 08:01:49 +00:00
feat: use resources name or ID in server module arguments (#484)
##### SUMMARY - Allow passing either the name or the ID of a resource to the different arguments of the server module. - Split the code into multiple smaller function and improve the code. - Improve the module arguments documentation. - Refactor and cleanups.
This commit is contained in:
parent
022cca4799
commit
7fdefcfa02
2 changed files with 280 additions and 257 deletions
6
changelogs/fragments/server-use-id-or-name.yml
Normal file
6
changelogs/fragments/server-use-id-or-name.yml
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
minor_changes:
|
||||
- server - Allow passing Datacenter name or ID to the `datacenter` argument.
|
||||
- server - Allow passing Image name or ID to the `image` argument.
|
||||
- server - Allow passing Location name or ID to the `location` argument.
|
||||
- server - Allow passing SSH Keys names or IDs to the `ssh_keys` argument.
|
||||
- server - Allow passing Volume names or IDs to the `volumes` argument.
|
||||
Loading…
Add table
Add a link
Reference in a new issue