Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

do not include {} boto filter by default #456

Merged

Conversation

chrismeyersfsu
Copy link
Contributor

@chrismeyersfsu chrismeyersfsu commented Aug 11, 2021

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: #457
Closes: #452

ISSUE TYPE
  • Bugfix Pull Request

* When no filter: specified, do not include an empty dict in the list of
boto filters because it effectively matches any host.
@ansibullbot

This comment has been minimized.

@ansibullbot ansibullbot added has_issue inventory inventory plugin needs_info This issue requires further information. Please answer any outstanding questions needs_template This issue/PR has an incomplete description. Please fill in the proposed template correctly needs_triage new_contributor Help guide this first time contributor plugins plugin (any type) small_patch Hopefully easy to review labels Aug 11, 2021
@tremble
Copy link
Contributor

tremble commented Aug 27, 2021

recheck

@ansibullbot ansibullbot added bug This issue/PR relates to a bug community_review and removed needs_info This issue requires further information. Please answer any outstanding questions needs_template This issue/PR has an incomplete description. Please fill in the proposed template correctly labels Aug 27, 2021
@goneri goneri self-assigned this Aug 27, 2021
@goneri
Copy link
Member

goneri commented Aug 30, 2021

recheck

@ansibullbot ansibullbot added tests tests and removed small_patch Hopefully easy to review labels Aug 30, 2021
@goneri goneri force-pushed the fix-include_filters branch from 515672e to 14cf380 Compare August 30, 2021 18:49
@goneri
Copy link
Member

goneri commented Aug 31, 2021

recheck

@goneri goneri requested review from tremble and jillr August 31, 2021 14:03
@alinabuzachis
Copy link
Collaborator

recheck

1 similar comment
@tremble
Copy link
Contributor

tremble commented Aug 31, 2021

recheck

Copy link
Contributor

@tremble tremble left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one minor niggle, but otherwise LGTM.

@@ -0,0 +1,3 @@
---
bugfixes:
- "inventory - ``include_filters`` won't be ignored anymore if ``filters`` is not set (https://github.com/ansible-collections/amazon.aws/pull/456)."
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- "inventory - ``include_filters`` won't be ignored anymore if ``filters`` is not set (https://github.com/ansible-collections/amazon.aws/pull/456)."
- "inventory - ``include_filters`` won't be ignored anymore if ``filters`` is not set (https://github.com/ansible-collections/amazon.aws/issues/457)."

@goneri
Copy link
Member

goneri commented Aug 31, 2021

FTR, We've got a problem with the intermediate registry: ansible/ansible-zuul-jobs#1082

@tremble tremble added the gate label Aug 31, 2021
Copy link
Contributor

@ansible-zuul ansible-zuul bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@ansible-zuul ansible-zuul bot merged commit 05d1ae0 into ansible-collections:main Aug 31, 2021
abikouo pushed a commit to abikouo/amazon.aws that referenced this pull request Oct 24, 2023
Right now, we expect both requirement.txt / test-requirments.txt file in
CI. Add this now allows us to get sanity jobs passing, then we can work
on adding unit test requirements as needed.

Signed-off-by: Paul Belanger <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue/PR relates to a bug community_review has_issue inventory inventory plugin new_contributor Help guide this first time contributor plugins plugin (any type) tests tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

include_filters without filters returns ALL hosts Include and exclude filters not being honored.
5 participants