Document ignore_state

Added documentation for ignore_state and updated the example since you
would really only use this module if you are going to register it to a
variable.
This commit is contained in:
Michael Schuett 2015-07-24 18:09:45 -04:00
parent 1c6597ec73
commit c64c2995a4

View file

@ -45,6 +45,12 @@ options:
required: false
default: All Regions
aliases: []
ignore_state:
description:
- instance state that should be ignored such as terminated.
required: false
default: terminated
aliases: []
author:
- "Michael Schuett (@michaeljs1990)"
extends_documentation_fragment: aws
@ -57,7 +63,7 @@ EXAMPLES = '''
- ec2_search:
key: mykey
value: myvalue
register: servers
'''
try:
import boto