Open ziermmar opened 2 weeks ago
@ziermmar Could you provide us the inventory configuration so we can reproduce your issue?
That's what was working before upgrading:
---
plugin: hetzner.hcloud.hcloud
api_token: !vault |
$ANSIBLE_VAULT;1.2;AES256;apm
<vault data redacted>
keyed_groups:
- key: location
prefix: hcloud_location
- key: image_os_flavor
separator: ""
- key: status
prefix: server_status
I am having some difficulties reproducing this.
The exception seem to show that the isoparse
could not be imported, which mean the python-dateutil
library could not be found. But the code has a check for that. Could you tell me if the python-dateutil
package is installed in the env where ansible is installed?
See the requirements: https://docs.ansible.com/ansible/latest/collections/hetzner/hcloud/hcloud_inventory.html#requirements
SUMMARY
Similar to #495. Inventory is empty after ansible core upgrade
2.17.5
and hcloud update to4.2.1
ISSUE TYPE
COMPONENT NAME
hetzner.hcloud.hcloud
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
Ubuntu 24.04
STEPS TO REPRODUCE
EXPECTED RESULTS
Inventory host graph with several servers
ACTUAL RESULTS