From cf359df1c5bbebae4eb2091d9b613f94a0a205dd Mon Sep 17 00:00:00 2001 From: willthames Date: Thu, 16 Jan 2014 13:14:44 +1000 Subject: [PATCH] ec2_elb module: Minor improvements to documentation ELB(s) cause a weird formatting behaviour - it appears as EL**s** Added choices documentation to the state option --- cloud/ec2_elb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cloud/ec2_elb b/cloud/ec2_elb index 4488cf84608..6a8a25986ec 100644 --- a/cloud/ec2_elb +++ b/cloud/ec2_elb @@ -17,9 +17,9 @@ DOCUMENTATION = """ --- module: ec2_elb -short_description: De-registers or registers instances from EC2 ELB(s) +short_description: De-registers or registers instances from EC2 ELBs description: - - This module de-registers or registers an AWS EC2 instance from the ELB(s) + - This module de-registers or registers an AWS EC2 instance from the ELBs that it belongs to. - Returns fact "ec2_elbs" which is a list of elbs attached to the instance if state=absent is passed as an argument. @@ -32,6 +32,7 @@ options: description: - register or deregister the instance required: true + choices: ['present', 'absent'] instance_id: description: