-
Notifications
You must be signed in to change notification settings - Fork 77
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
use lookup to set event_source arguments with environment vars #286
Comments
ansible/ansible-rulebook isn't ansible/ansible and alot of stuff is different and/or not implemented as of now. |
@ffalor We don't have full Jinja2 support in the rulebook. In your case you should be able to change the rulebook to
|
|
The env var name is passed via the command line and collected into a variable pool which is later used in substitution.
|
thanks @mkanoor for making me aware. |
thanks for explaining how --env-vars works. |
Description
This could be a me issue because I am learning rulebooks & ansible at the same time.
Running:
ansible-rulebook -i inventory.yml --rulebook rulebooks/event_stream_example.yml --env-vars FALCON_CLIENT_ID,FALCON_CLIENT_SECRET
Results in this error (I've tried with and without --env-vars):
It looks like I do have the
env
lookup plugingThe text was updated successfully, but these errors were encountered: