ansible-collections / hetzner.hcloud

A collection to manage resources on Hetzner Cloud
https://galaxy.ansible.com/ui/repo/published/hetzner/hcloud
GNU General Public License v3.0
105 stars 37 forks source link

docs: add example to assign server to a specific subnet #525

Closed jooola closed 3 months ago

jooola commented 3 months ago
SUMMARY

Adds an example that shows how to assign a server to a specific subnetwork.

jooola commented 3 months ago

I added a trick to not hard-code the IP, but it is a bit fragile, e.g. adding a server in the middle of the list might break the playbook.