Note
This filter plugin is part of the hetzner.hcloud collection (version 4.3.0).
You might already have this collection installed if you are using the ansible package. It is not included in ansible-core. To check whether it is installed, run ansible-galaxy collection list.
To install it, use: ansible-galaxy collection install hetzner.hcloud.
To use it in a playbook, specify: hetzner.hcloud.load_balancer_status.
New in hetzner.hcloud 4.2.0
This describes the input of the filter, the value before | hetzner.hcloud.load_balancer_status.
Parameter | Comments |
|---|---|
Input dictionary / required | Load Balancer data. |
# Ensure a load balancer is healthy
{{ result.hcloud_load_balancer_info[0] | hetzner.hcloud.load_balancer_status == "healthy" }}
Key | Description |
|---|---|
Return value string | The status of the Load Balancer targets, can be one of Returned: success |
© 2012–2018 Michael DeHaan
© 2018–2025 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/latest/collections/hetzner/hcloud/load_balancer_status_filter.html