Hi Greg,
Well I've only just delved into the world of rundeck so all I know so far is defining an option in a job and accessing it via ${option.<key name>}. I think that's what you were referring to in your first paragraph below, is that right? If so, then yes, I was talking about defining these types of options at the project level instead, so you can access them across multiple jobs.
At the moment my focus has purely been on defining options locally, not pulling them from external sources (except for node definitions) but sure, being able to draw them from external sources would probably be useful as well.
Also, while I'm on the subject of project level options, it would be nice if you could use named filters from the "Run" page as node options within jobs. I brought this up in another thread on this mailing list but thought it was worth mentioning here as well.
So far I'm liking rundeck a lot, I look forward to getting better acquainted with it!
Thanks,
Guy
On Thu, May 31, 2012 at 5:14 PM, Greg Schueler wrote:
Hi Guy,
No, not currently, but I like the idea. I assume you mean allow
additional ${key.name} expansion variables using values that you
somehow predefine?
I think someone has filed an issue in the tracker about adding this
kind of thing on a per-job basis, but per-project or global values
could be useful. This would help to make job definitions more like
templates, and allow your options and variable definitions fill in the
blanks.
Also, perhaps it should allow tying into an external sources
(pluggable), such as key-value stores?
--
You received this message because you are subscribed to the Google Groups "rundeck-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rundeck-discu...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
<joblist>
<job>
<defaultTab>nodes</defaultTab>
<description></description>
<executionEnabled>true</executionEnabled>
<id>41c33de6-f9dc-449e-aa01-c7c6083e21d2</id>
<loglevel>INFO</loglevel>
<name>JobEXAMPLE</name>
<nodeFilterEditable>false</nodeFilterEditable>
<plugins />
<scheduleEnabled>true</scheduleEnabled>
<sequence keepgoing='false' strategy='node-first'>
<command>
<step-plugin type='export-var'>
<configuration>
<entry key='export' value='myglobal' />
<entry key='group' value='export' />
<entry key='value' value='hello' />
</configuration>
</step-plugin>
</command>
<command>
<exec>echo ${export.myglobal}</exec>
</command>
</sequence>
<uuid>41c33de6-f9dc-449e-aa01-c7c6083e21d2</uuid>
</job>
</joblist>