ansible-collection-hetzner-.../changelogs/fragments
Jonas L be404ef181
feat(inventory): allow templating instances hostname (#455)
##### 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
2024-02-05 14:32:01 +01:00
..
.keep hcloud_server: fix traceback in check mode (#64) 2021-03-12 14:22:47 +01:00
add-inventory-hostname-option.yml feat(inventory): allow templating instances hostname (#455) 2024-02-05 14:32:01 +01:00
allow-renaming-networks.yml fix: allow renaming networks (#449) 2024-02-02 12:53:54 +01:00
drop-support-for-ansible-core-2.13.yml feat!: drop support for ansible-core 2.13 (#450) 2024-02-05 14:26:04 +01:00
fix-always-return-iso-8601-formatted-datetime.yml fix!: always return iso-8601 formatted date time (#453) 2024-02-05 12:18:53 +01:00
fix-load-balancer-cookie-lifetime.yml fix: load balancer invalid cookie lifetime value returned (#452) 2024-02-05 09:00:26 +01:00
remove-inventory-api_token_env-option.yml feat!: remove inventory api_token_env option (#454) 2024-02-05 12:18:39 +01:00