diff --git a/lib/ansible/modules/extras/cloud/amazon/ec2_search.py b/lib/ansible/modules/extras/cloud/amazon/ec2_search.py index cc8929d5f37..0114bec14b5 100644 --- a/lib/ansible/modules/extras/cloud/amazon/ec2_search.py +++ b/lib/ansible/modules/extras/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