From 5f0585327cd9bd8165154526942df55ec76cccdc Mon Sep 17 00:00:00 2001 From: Alina Buzachis Date: Tue, 7 Jun 2022 16:27:31 +0200 Subject: [PATCH] Add version_added: 1.5.0 for exclude_filters, include_filters and use_contrib_script_compatible_ec2_tag_keys (#858) Add version_added: 1.5.0 for exclude_filters, include_filters and use_contrib_script_compatible_ec2_tag_keys SUMMARY Add version_added: 1.5.0 for exclude_filters, include_filters and use_contrib_script_compatible_ec2_tag_keys include_filters and exclude_filters have been added #328 and released with amazon.aws 1.5.0 use_contrib_script_compatible_ec2_tag_keys has been added #331 and released with amazon.aws 1.5.0 Let's update the aws_ec2 inventory plugin documentation with this information. This should be a step towards closing this one #676 and #675 aws_ec2 documentation will be enriched with exhaustive examples in an upcoming PR. ISSUE TYPE Docs Pull Request COMPONENT NAME aws_ec2 ADDITIONAL INFORMATION Reviewed-by: Mark Chappell --- plugins/inventory/aws_ec2.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/inventory/aws_ec2.py b/plugins/inventory/aws_ec2.py index 9efaf6802f7..14bd70e54af 100644 --- a/plugins/inventory/aws_ec2.py +++ b/plugins/inventory/aws_ec2.py @@ -79,6 +79,7 @@ type: list elements: dict default: [] + version_added: 1.5.0 exclude_filters: description: - A list of filters. Any instances matching one of the filters are excluded from the result. @@ -89,6 +90,7 @@ type: list elements: dict default: [] + version_added: 1.5.0 include_extra_api_calls: description: - Add two additional API calls for every instance to include 'persistent' and 'events' host variables. @@ -120,6 +122,7 @@ - The use of this feature is discouraged and we advise to migrate to the new ``tags`` structure. type: bool default: False + version_added: 1.5.0 hostvars_prefix: description: - The prefix for host variables names coming from AWS.