-
Notifications
You must be signed in to change notification settings - Fork 100
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 context variables support for job steps definition #64
Comments
IHi @GrinGrin , I assume, you mean accessing the context variables inside your ansible script ? I agree but that will be a bit tricky to add since the variables need to be added to passes to ansible itself. |
Hi @yassineazzouz , I mean using context variables like You can see in the screenshot below that I already use this variable in the previous step to create a script going to the desired path and make a git pull before using the playbooks |
Hi @GrinGrin , Ok, I see what you mean, I'm actually working on an almost full rewrite of the plugin code, that I will be available soon hopefully, and will include that. Thanks, |
Hi @GrinGrin , This should be fixed in release 2.0.0 Thanks, |
Hi,
It would be really useful to be able to use context variables in the job steps definitions like ${job.project}, ${job.name} and so on.
Not all context variables are needed as most of them are defined by Ansible facts, but at least the job.*
I'm trying to configure a generic job that can run a playbook stored in the project folder (under /var/rundeck/projects/<project_name>/playbooks) I can duplicate to add now playbooks when needed and such variables would be really useful !
The text was updated successfully, but these errors were encountered: