|
|
@ -107,7 +107,7 @@ notes:
|
|
|
|
EXAMPLES = '''
|
|
|
|
EXAMPLES = '''
|
|
|
|
# Add a new node to the load balancer
|
|
|
|
# Add a new node to the load balancer
|
|
|
|
- local_action:
|
|
|
|
- local_action:
|
|
|
|
module: rax_clb
|
|
|
|
module: rax_clb_nodes
|
|
|
|
load_balancer_id: 71
|
|
|
|
load_balancer_id: 71
|
|
|
|
address: 10.2.2.3
|
|
|
|
address: 10.2.2.3
|
|
|
|
port: 80
|
|
|
|
port: 80
|
|
|
@ -118,7 +118,7 @@ EXAMPLES = '''
|
|
|
|
|
|
|
|
|
|
|
|
# Drain connections from a node
|
|
|
|
# Drain connections from a node
|
|
|
|
- local_action:
|
|
|
|
- local_action:
|
|
|
|
module: rax_clb
|
|
|
|
module: rax_clb_nodes
|
|
|
|
load_balancer_id: 71
|
|
|
|
load_balancer_id: 71
|
|
|
|
node_id: 410
|
|
|
|
node_id: 410
|
|
|
|
condition: draining
|
|
|
|
condition: draining
|
|
|
@ -127,7 +127,7 @@ EXAMPLES = '''
|
|
|
|
|
|
|
|
|
|
|
|
# Remove a node from the load balancer
|
|
|
|
# Remove a node from the load balancer
|
|
|
|
- local_action:
|
|
|
|
- local_action:
|
|
|
|
module: rax_clb
|
|
|
|
module: rax_clb_nodes
|
|
|
|
load_balancer_id: 71
|
|
|
|
load_balancer_id: 71
|
|
|
|
node_id: 410
|
|
|
|
node_id: 410
|
|
|
|
state: absent
|
|
|
|
state: absent
|
|
|
|