ansible-collection-hetzner-.../changelogs
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
..
fragments feat(inventory): allow templating instances hostname (#455) 2024-02-05 14:32:01 +01:00
.gitignore Polish old modules and collection for release (#11) 2020-06-29 13:53:01 +02:00
changelog.yaml chore(main): release 2.5.0 (#419) 2024-02-02 10:45:50 +01:00
config.yaml refactor: prefer true/false over yes/no (#226) 2023-06-21 10:49:54 +02:00
dev-changelog.md chore(main): release 2.5.0 (#419) 2024-02-02 10:45:50 +01:00