From a28287d0b4c5eee5c1a86bb49ba2df84b6c003f7 Mon Sep 17 00:00:00 2001 From: pascalheraud Date: Wed, 30 Mar 2016 20:51:12 +0200 Subject: [PATCH] Update ovh_ip_loadbalancing_backend.py Fixed documentation from "ip" to "backend" and enhanced text. --- cloud/ovh/ovh_ip_loadbalancing_backend.py | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/cloud/ovh/ovh_ip_loadbalancing_backend.py b/cloud/ovh/ovh_ip_loadbalancing_backend.py index f2e81baaafa..658715c60a1 100644 --- a/cloud/ovh/ovh_ip_loadbalancing_backend.py +++ b/cloud/ovh/ovh_ip_loadbalancing_backend.py @@ -93,15 +93,17 @@ options: ''' EXAMPLES = ''' -# Adds or modify a backend to a loadbalancing -- ovh_ip_loadbalancing name=ip-1.1.1.1 ip=212.1.1.1 state=present \ -probe=none weight=8 \ +# Adds or modify the backend '212.1.1.1' to a \ +loadbalancing 'ip-1.1.1.1' +- 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 \ application_secret=yoursecret consumer_key=yourconsumerkey -# Removes a backend from a loadbalancing -- ovh_ip_loadbalancing name=ip-1.1.1.1 ip=212.1.1.1 state=absent \ -endpoint=ovh-eu application_key=yourkey \ +# Removes a backend '212.1.1.1' from a loadbalancing \ +'ip-1.1.1.1' +- 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 '''