ansible-collection-hetzner-.../examples/inventory.hcloud.yml
Jonas L f85d8f4492
fix(inventory): improve performance (#402)
##### SUMMARY

Improve the performance of the inventory plugin by:
- Cache client requests
- Move servers `status` filtering to query params.
2023-11-24 13:43:34 +01:00

7 lines
210 B
YAML

# You can list the hosts using:
# ansible-inventory --list -i examples/inventory.hcloud.yml --extra-vars=network_name=my-network
plugin: hetzner.hcloud.hcloud
network: "{{ network_name }}"
status: [running]