From eab4b6a3e9a9a998f1f05de69903cb1819cd55d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Moser?= Date: Mon, 9 May 2016 21:39:00 +0200 Subject: [PATCH] cs_loadbalancer_rule_member: doc fixes (#2184) --- .../cloudstack/cs_loadbalancer_rule_member.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/cloud/cloudstack/cs_loadbalancer_rule_member.py b/cloud/cloudstack/cs_loadbalancer_rule_member.py index 757c00674ef..dd821cafa9c 100644 --- a/cloud/cloudstack/cs_loadbalancer_rule_member.py +++ b/cloud/cloudstack/cs_loadbalancer_rule_member.py @@ -50,7 +50,7 @@ options: state: description: - Should the VMs be present or absent from the rule. - required: true + required: false default: 'present' choices: [ 'present', 'absent' ] project: @@ -101,19 +101,19 @@ EXAMPLES = ''' pre_tasks: - name: Remove from load balancer local_action: - module: cs_loadbalancer_rule_member - name: balance_http - vm: "{{ ansible_hostname }}" - state: absent + module: cs_loadbalancer_rule_member + name: balance_http + vm: "{{ ansible_hostname }}" + state: absent tasks: # Perform update post_tasks: - name: Add to load balancer local_action: - module: cs_loadbalancer_rule_member - name: balance_http - vm: "{{ ansible_hostname }}" - state: present + module: cs_loadbalancer_rule_member + name: balance_http + vm: "{{ ansible_hostname }}" + state: present ''' RETURN = '''