Replies: 1 comment 2 replies
-
I believe you would do this by adding the following to your inventory plugin configuration group_by:
- tags
query_filters:
- status: active And then running your ansible-playbook with a You can use |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey,
I read in the documentation that the entries in query_filter are combined with a logical OR. I would like to have them combined with a logical AND instead, so that the Ansible inventory is built only from devices with status active AND a certain tag. Is there any possibility to achieve that?
Beta Was this translation helpful? Give feedback.
All reactions