Comments (2)
Hi @mzhaase,
I reproduced your error by using the older version of the hetzner.hcloud
collection bundled within the ansible
package.
Please make sure that you installed the newer version of the hetzner.hcloud
collection from ansible-galaxy, the command you wrote in the reproduction steps was invalid:
ansible-galaxe install hetzner.hcloud
You can use the following instead:
ansible-galaxy collection install hetzner.hcloud
To reproduce:
# We have a server without ipv4
hcloud server create --name tmp --type cx11 --image debian-12 --without-ipv4
docker run -it --rm -v $(pwd):/src ubuntu:20.04 bash
cd /src
apt update
apt install software-properties-common
add-apt-repository ppa:ansible/ansible
apt install ansible python3-pip
pip3 install hcloud
ansible --version
export HCLOUD_TOKEN=$HCLOUD_TOKEN
## This is not working
ansible-inventory --list -vvv
## This is working
ansible-galaxy collection install hetzner.hcloud
ansible-inventory --list -vvv
from hetzner.hcloud.
Hi,
indeed, it happens when using plugin: hcloud
instead of plugin: hetzner.hcloud.hcloud
from hetzner.hcloud.
Related Issues (20)
- Dependency Dashboard
- Drop support for python 3.7 HOT 1
- 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
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.