mirror of
https://github.com/ansible-collections/hetzner.hcloud
synced 2024-11-10 06:34:13 +00:00
be404ef181
##### SUMMARY Adds a `hostname` option that allow the user to pass a template to add a prefix or use the hostvars to build the hostname. For example: ```yml plugin: hetzner.hcloud.hcloud hostname: "hcloud-{{ location }}-{{ name }}" ``` OR with a hostvars_prefix: ```yml plugin: hetzner.hcloud.hcloud hostvars_prefix: hcloud_ hostname: "hcloud-{{ hcloud_location }}-{{ hcloud_name }}" ``` Fixes #115 ##### ISSUE TYPE - Feature Pull Request ##### COMPONENT NAME inventory |
||
---|---|---|
.. | ||
__init__.py | ||
hcloud.py |