mirror of
https://github.com/ansible-collections/hetzner.hcloud.git
synced 2026-02-04 08:01:49 +00:00
hcloud_load_balancer_target: fix types in examples
This commit is contained in:
parent
7d5cd81852
commit
0a5cdb978c
1 changed files with 6 additions and 6 deletions
|
|
@ -71,28 +71,28 @@ extends_documentation_fragment:
|
|||
|
||||
EXAMPLES = """
|
||||
- name: Create a server Load Balancer target
|
||||
hcloud_load_balancer_target:
|
||||
hetzner.hcloud.hcloud_load_balancer_target:
|
||||
type: server
|
||||
load_balancer: my-LoadBalancer
|
||||
server: my-server
|
||||
state: present
|
||||
|
||||
- name: Create a label_selector Load Balancer target
|
||||
hcloud_load_balancer_target:
|
||||
type: server
|
||||
hetzner.hcloud.hcloud_load_balancer_target:
|
||||
type: label_selector
|
||||
load_balancer: my-LoadBalancer
|
||||
label_selector: application=backend
|
||||
state: present
|
||||
|
||||
- name: Create an IP Load Balancer target
|
||||
hcloud_load_balancer_target:
|
||||
type: server
|
||||
hetzner.hcloud.hcloud_load_balancer_target:
|
||||
type: ip
|
||||
load_balancer: my-LoadBalancer
|
||||
ip: 127.0.0.1
|
||||
state: present
|
||||
|
||||
- name: Ensure the Load Balancer target is absent (remove if needed)
|
||||
hcloud_load_balancer_target:
|
||||
hetzner.hcloud.hcloud_load_balancer_target:
|
||||
type: server
|
||||
load_balancer: my-LoadBalancer
|
||||
server: my-server
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue