Comments (7)
@ssauriera you could now use the released version fo this collection where the bug was fixed. I will close the issue as the bug itself is fixed.
from hetzner.hcloud.
Same issue, do you have any update?
from hetzner.hcloud.
Finally I found my problem.
My servers are from snapshot and in my file located in :
/usr/lib/python2.7/dist-packages/ansible/plugins/inventory/hcloud.py
from hetzner.hcloud.
This is already fixed in the master branch of the new collection (https://github.com/ansible-collections/hetzner.hcloud/blob/master/plugins/inventory/hcloud.py). You could try to use this instead of the ansible build in, as this was planned to be released with Ansible 2.10. As Ansible 2.10 will no longer contain the "non-core" modules we have the new place here. We plan to publish the first stable version of the collection in the next few weeks.
@ssauriera could you test if the file I linked above fixes your issue?
from hetzner.hcloud.
@LKaemmerling changing the file you propose makes the inventory faild again. I'm going to work with the old one.
from hetzner.hcloud.
just a little bit of feedback from a users perspective: this was biting me yesterday at a not so good time.
no complaints: can confirm that removing ansible, installing it at 2.10.x (ansible-base
on ubuntu), then installing hcloud-python via pip on python3 (python3 -m pip install hcloud
) and getting hetzner.hcloud
from galaxy (ansible-galaxy collection install hetzner.hcloud
) did the job for me, the error went away.
Also I've found out that hcloud
CLI is a good and stable intermediate fall-back if all things go down (it might be good you have it in path already when trouble-shooting).
If I may suggest, if the hetzner account on ansible galaxy website would show the hetzner logo in the profile picture this would have given me a better impression (not your fault that with ansible galaxy it's not possible to re-install (remove + install) (at least on previous versions, there is a feature request for that)).
from hetzner.hcloud.
@ktomk thank you for your feedback!
If I may suggest, if the hetzner account on ansible galaxy website would show the hetzner logo in the profile picture this would have given me a better impression (not your fault that with ansible galaxy it's not possible to re-install (remove + install) (at least on previous versions, there is a feature request for that)).
I added the Hetzner Logo to Galaxy, good idea, thank you!
from hetzner.hcloud.
Related Issues (20)
- hcloud_load_balancer_target with HCLOUD_TOKEN env - missing required arguments: api_token HOT 2
- Support algorithm selection for hcloud_load_balancer
- Make `*_info` modules consistent on how they handle invalid ID requests HOT 2
- Allow querying floating_ip_info by name
- hcloud_load_balancer_service returns certificates instead of status codes HOT 1
- hcloud_firewall better error messages for missing port with tcp or udp
- hetzner.hcloud.hcloud_network module is missing network_zone option HOT 4
- Create a server with no public IP and a given static private IP HOT 8
- hcloud_certificate documentation has values in SSH format instead of PEM
- hcloud_certificate domain_names documentation wrong
- hcloud_server delete_protection and rebuild_protection can't be applied HOT 1
- hcloud_firewall cannot delete firewalls that are in use HOT 2
- Drop support for ansible-core 2.13
- 2.4.0 breaks `refresh_inventory`
- Ansible in a venv is not loading the hcloud inventory plugin HOT 3
- hcloud_load_balancer reports change every time HOT 2
- hcloud_load_balancer_service reports change every time HOT 2
- Generate diff for all modules HOT 1
- Create Primary IP on Server
- hcloud_load_balancer_info don't return status HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hetzner.hcloud.