braincraft-gmbh / ansible-hcloud

An ansible role to provision and manage hosts, volumes and SSH keys in the Hetzner Cloud
4 stars 0 forks source link

Rewrite for ansible hcloud module (ansible >= 2.8) #1

Open gandhiano opened 5 years ago

gandhiano commented 5 years ago

A PR with an hcloud module has been proposed. The new module is capable of dealing with volumes and labels and should replace both the current hcloud_server module as well as the scripts used to overcome its limitations.

decentral1se commented 5 years ago

Small update: https://github.com/ansible/ansible/pull/53062 is merged (see install docs for accessing Ansible devel branch when developing this role) and to also note, I've got https://github.com/ansible/molecule/pull/1811 coming soon, so it will be possible to run your role integration tests on real Hetzner boxes :fire:

decentral1se commented 5 years ago

Just to note, that after QUITE some time we have finally released a pre-release with Hetzner support:

pip install "git+https://github.com/ansible/molecule.git@2.22rc6#egg=molecule"

(Official release coming out soonish ...)

I can also recommend https://molecule.readthedocs.io/en/stable/getting-started.html to get started.

Ansible >= 2.8 and Molecule has first class Hetzner support now.