-
Notifications
You must be signed in to change notification settings - Fork 78
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
Support for standalone Booleans in conditions #443
Comments
Hello. To print all the events you can use the flag --print-events |
Hi, |
So I think we can close this feature request because it's already implemented. |
@Alex-Izquierdo I need it for a Kafka topic so it wasn't implemented as far as I know. |
The feature as it is described is going to be rejected because can not be implemented. The condition must contains always a query about the event data, this how works and was designed the rule engine. The usecase of printing all the events is already supported with the flag --print-events. |
Hi,
Therefore while filtering is ultimately dependent on event data, it requires features that aren't available in ansible-rulebook (unless you code them in Python...) so the condition doesn't meet our requirements. |
Please confirm the following
Feature type
Enhancement to Existing Feature
Feature Summary
This helps when we want to print events, process all messages in Kafka topic without knowing the contents of the event.
The literal boolean true allows the condition to pass and the action various action can be done for events.
Steps to reproduce
Current results
Cannot be done
Sugested feature result
Can be passed
Additional information
See this pull request
The text was updated successfully, but these errors were encountered: