Closed jooola closed 5 months ago
Adds a hostname option that allow the user to pass a template to add a prefix or use the hostvars to build the hostname.
hostname
For example:
plugin: hetzner.hcloud.hcloud hostname: "hcloud-{{ location }}-{{ name }}"
OR with a hostvars_prefix:
plugin: hetzner.hcloud.hcloud hostvars_prefix: hcloud_ hostname: "hcloud-{{ hcloud_location }}-{{ hcloud_name }}"
Fixes #115
inventory
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:
OR with a hostvars_prefix:
Fixes #115
ISSUE TYPE
COMPONENT NAME
inventory