mirror of
https://github.com/ansible-collections/hetzner.hcloud.git
synced 2026-02-04 08:01:49 +00:00
feat: add support for ARM APIs (#208)
* feat: add architecture fields for image & server type * feat: filter images by architecture * feat: select right image by arch on server create & rebuild * feat(inventory): add architecture field to returned servers * docs: add changelog for arm features * chore: prepare v1.11.0
This commit is contained in:
parent
6a3983c9cd
commit
3c2d4df8bb
9 changed files with 94 additions and 8 deletions
|
|
@ -217,6 +217,7 @@ class InventoryModule(BaseInventoryPlugin, Constructable):
|
|||
self.inventory.set_variable(server.name, "name", to_native(server.name))
|
||||
self.inventory.set_variable(server.name, "status", to_native(server.status))
|
||||
self.inventory.set_variable(server.name, "type", to_native(server.server_type.name))
|
||||
self.inventory.set_variable(server.name, "architecture", to_native(server.server_type.architecture))
|
||||
|
||||
# Network
|
||||
if server.public_net.ipv4:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue