ansible-collection-hetzner-.../plugins/inventory
Julian Tölle bfe0f7a575
feat(inventory): handle servers that dont work with connect_with setting (#187)
Currently if any of the servers in the inventory do not work with the
selected `connect_with` mode, the script exits and returns 0 servers.
This can happen for example if one of your servers does not have a public
ipv4 address, but you set `connect_with: public_ipv4` (default).

This commit changes the behaviour to log a warning message, and just skip
setting `ansible_host` for this server. This server will not be reachable
by ansible by default, but users can use `compose` to override the
`ansible_host` that we set based on the other variables.
2023-02-01 10:41:36 +01:00
..
__init__.py Initial commit 2020-03-09 13:36:01 +00:00
hcloud.py feat(inventory): handle servers that dont work with connect_with setting (#187) 2023-02-01 10:41:36 +01:00