-
Notifications
You must be signed in to change notification settings - Fork 15
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
Add support to passing variables as command-line options #35
Conversation
Awesome implementation Alessandro! Thanks so much, scheduling. @andrioni has signed the CLA. |
This is a remain from a previous version without `NewOptions`
Happy to help! |
How are you finding Golang? |
This was my first experience writing anything other than a Hello World, and it was pretty nice. |
Hi, any idea when you will release the next version. Waiting for this to be merged as writing the db creds for every playbook is a pain. |
Not too long now @neekipatel - thanks for your patience... |
This implements the option to pass variables to playbooks using command-line arguments.
-var key1=val1
gets passed as the variablekey1
having the valueval1
.-var
:-var key1=val1 -var key2=val2
=
) found marks the separation between key and values: this means a value can contain as many equals sign it wants to, but the key can't.