From c64c2995a4b580934bfed0fe61d2049fe826df23 Mon Sep 17 00:00:00 2001 From: Michael Schuett Date: Fri, 24 Jul 2015 18:09:45 -0400 Subject: [PATCH] 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. --- cloud/amazon/ec2_search.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/cloud/amazon/ec2_search.py b/cloud/amazon/ec2_search.py index cc8929d5f37..0114bec14b5 100644 --- a/cloud/amazon/ec2_search.py +++ b/cloud/amazon/ec2_search.py @@ -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