|
|
@ -93,15 +93,17 @@ options:
|
|
|
|
'''
|
|
|
|
'''
|
|
|
|
|
|
|
|
|
|
|
|
EXAMPLES = '''
|
|
|
|
EXAMPLES = '''
|
|
|
|
# Adds or modify a backend to a loadbalancing
|
|
|
|
# Adds or modify the backend '212.1.1.1' to a \
|
|
|
|
- ovh_ip_loadbalancing name=ip-1.1.1.1 ip=212.1.1.1 state=present \
|
|
|
|
loadbalancing 'ip-1.1.1.1'
|
|
|
|
probe=none weight=8 \
|
|
|
|
- ovh_ip_loadbalancing name=ip-1.1.1.1 backend=212.1.1.1 \
|
|
|
|
|
|
|
|
state=present probe=none weight=8 \
|
|
|
|
endpoint=ovh-eu application_key=yourkey \
|
|
|
|
endpoint=ovh-eu application_key=yourkey \
|
|
|
|
application_secret=yoursecret consumer_key=yourconsumerkey
|
|
|
|
application_secret=yoursecret consumer_key=yourconsumerkey
|
|
|
|
|
|
|
|
|
|
|
|
# Removes a backend from a loadbalancing
|
|
|
|
# Removes a backend '212.1.1.1' from a loadbalancing \
|
|
|
|
- ovh_ip_loadbalancing name=ip-1.1.1.1 ip=212.1.1.1 state=absent \
|
|
|
|
'ip-1.1.1.1'
|
|
|
|
endpoint=ovh-eu application_key=yourkey \
|
|
|
|
- ovh_ip_loadbalancing name=ip-1.1.1.1 backend=212.1.1.1
|
|
|
|
|
|
|
|
state=absent endpoint=ovh-eu application_key=yourkey \
|
|
|
|
application_secret=yoursecret consumer_key=yourconsumerkey
|
|
|
|
application_secret=yoursecret consumer_key=yourconsumerkey
|
|
|
|
'''
|
|
|
|
'''
|
|
|
|
|
|
|
|
|
|
|
|