1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Native YAML - cloud/centurylink/clc_loadbalancer.py (#3632)

This commit is contained in:
Fabio Alessandro Locati 2016-12-02 15:49:38 +00:00 committed by Matt Clay
parent cc25f24475
commit 2ea57deb72

View file

@ -109,7 +109,8 @@ EXAMPLES = '''
location: WA1
port: 443
nodes:
- { 'ipAddress': '10.11.22.123', 'privatePort': 80 }
- ipAddress: 10.11.22.123
privatePort: 80
state: present
- name: Add node to an existing loadbalancer pool
@ -124,7 +125,8 @@ EXAMPLES = '''
location: WA1
port: 443
nodes:
- { 'ipAddress': '10.11.22.234', 'privatePort': 80 }
- ipAddress: 10.11.22.234
privatePort: 80
state: nodes_present
- name: Remove node from an existing loadbalancer pool
@ -139,7 +141,8 @@ EXAMPLES = '''
location: WA1
port: 443
nodes:
- { 'ipAddress': '10.11.22.234', 'privatePort': 80 }
- ipAddress: 10.11.22.234
privatePort: 80
state: nodes_absent
- name: Delete LoadbalancerPool
@ -154,7 +157,8 @@ EXAMPLES = '''
location: WA1
port: 443
nodes:
- { 'ipAddress': '10.11.22.123', 'privatePort': 80 }
- ipAddress: 10.11.22.123
privatePort: 80
state: port_absent
- name: Delete Loadbalancer
@ -169,7 +173,8 @@ EXAMPLES = '''
location: WA1
port: 443
nodes:
- { 'ipAddress': '10.11.22.123', 'privatePort': 80 }
- ipAddress: 10.11.22.123
privatePort: 80
state: absent
'''