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
reviewable/pr18780/r1
willthames 11 years ago
parent 30f7b2d298
commit cf359df1c5

@ -17,9 +17,9 @@
DOCUMENTATION = """ DOCUMENTATION = """
--- ---
module: ec2_elb 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: 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. that it belongs to.
- Returns fact "ec2_elbs" which is a list of elbs attached to the instance - Returns fact "ec2_elbs" which is a list of elbs attached to the instance
if state=absent is passed as an argument. if state=absent is passed as an argument.
@ -32,6 +32,7 @@ options:
description: description:
- register or deregister the instance - register or deregister the instance
required: true required: true
choices: ['present', 'absent']
instance_id: instance_id:
description: description:

Loading…
Cancel
Save