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

Include groups from parent inventory in Smart Inventories #6914

Closed
philipsd6 opened this issue May 3, 2020 · 2 comments
Closed

Include groups from parent inventory in Smart Inventories #6914

philipsd6 opened this issue May 3, 2020 · 2 comments

Comments

@philipsd6
Copy link
Contributor

philipsd6 commented May 3, 2020

ISSUE TYPE
  • Feature Request
SUMMARY

Given an inventory with hosts grouped by environment, function, and region, when I create a Smart Inventory that uses groups.name:prd groups.name:west as the filter, I expect to see at least the resulting hosts grouped by function, but preferably also with all the hosts in the prd and west filters.

Otherwise, there is no point in having any play use anything other than hosts: all because it becomes impossible to orchestrate plays across groups of servers by function when using a Smart Inventory.

A play with:

    - name: Show groups
      debug:
        var: groups

...shows that all the hosts in the Smart Inventory are Ungrouped.

@AlanCoding
Copy link
Member

Duplicate of #1999

@AlanCoding AlanCoding marked this as a duplicate of #1999 May 4, 2020
@philipsd6
Copy link
Contributor Author

Whoa, I didn't see that duplicate issue. I'll close this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants