Skip to content

[Bug] Unable to create cluster on Hetzner using UI due to error in hetzner.yml #1319

@Sidgut

Description

@Sidgut

Bug description

I have recently reported an issue with Digitalocean, today while testing with Hetzner as well I found another bug again this seems to be linked due transition to ansible 12.

The following task failed:
TASK [vitabaks.autobase.cloud_resources : Inventory | Extract IP addresses]

Exact error:

Origin: /root/.ansible/collections/ansible_collections/vitabaks/autobase/roles/cloud_resources/tasks/hetzner.yml:709:7
707 # Inventory
708 - block:
709 - name: "Inventory | Extract IP addresses"
^ column 7
<<< caused by >>>
Conditional result (True) was derived from value of type 'list' at '/root/.ansible/collections/ansible_collections/vitabaks/autobase/roles/cloud_resources/tasks/hetzner.yml:736:7'. Conditionals must have a boolean result.
Origin: /root/.ansible/collections/ansible_collections/vitabaks/autobase/roles/cloud_resources/tasks/hetzner.yml:736:7
734 when:
735 - server_result.results is defined
736 - server_result.results | selectattr('hcloud_server', 'defined')
^ column 7

Expected behavior

The cluster should have been created.

Steps to reproduce

No response

Installation method

Console (UI)

System info

Using the latest version of Autobase.

Additional info

Image

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions