You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dswan2 opened this issue
Aug 10, 2021
· 1 comment
· Fixed by #456
Labels
bugThis issue/PR relates to a buginventoryinventory pluginjiraneeds_verifiedSome one might want to take a look at this and reproduce it to confirmpluginsplugin (any type)python3
do not include {} boto filter by default
Depends-On: #480
When no filter: specified, do not include an empty dict in the list of
boto filters because it effectively matches any host.
Closes: #457Closes: #452
ISSUE TYPE
Bugfix Pull Request
Reviewed-by: Mark Chappell <None>
Reviewed-by: Alina Buzachis <None>
Reviewed-by: None <None>
abikouo
pushed a commit
to abikouo/amazon.aws
that referenced
this issue
Oct 24, 2023
bugThis issue/PR relates to a buginventoryinventory pluginjiraneeds_verifiedSome one might want to take a look at this and reproduce it to confirmpluginsplugin (any type)python3
Summary
When I attempt to generate a yaml inventory file using the dynamic inventory, I am still catching a lot of hosts that should be filtered out.
My dynamic inventory:
aws ec2 ansible dynamic inventory plugin
#plugin: aws_ec2
plugin: amazon.aws.aws_ec2
aws_profile: acme-prod
regions:
include_filters:
exclude_filters:
Command line:
ansible-inventory -i preprod_aws_ec2.yaml --list -y > /var/tmp/preprod_aws_ec2.yaml
Validation (Failed. Should not contain Component: windows-client-service):
dynamic_inventory $ grep windows /var/tmp/preprod_aws_ec2.yaml |grep Component
Component: windows-client-service
Component: windows-client-service
Issue Type
Bug Report
Component Name
aws_ec2
Ansible Version
Collection Versions
AWS SDK versions
Configuration
OS / Environment
OSX Big Sur
Darwin Kernel Version 20.5.0: Sat May 8 05:10:33 PDT 2021; root:xnu-7195.121.3~9/RELEASE_X86_64 x86_64
Steps to Reproduce
Expected Results
I expect the putput to not contain any nodes where Component: windows-client-service
Actual Results
Code of Conduct
The text was updated successfully, but these errors were encountered: