RexOps / rex-jobcontrol

Simple Webinterface to control Rex
10 stars 6 forks source link

Add option to pass parameters to tasks when defining a job #7

Open nicklangridge opened 9 years ago

nicklangridge commented 9 years ago

Many of my tasks require parameters, but I do not see a way to specify parameter values in the job interface.

To clarify, this is the kind of parameters I am referring to: rex -H hostname mytask --parameter1=value1 --parameter2=value2

(example is from http://www.rexify.org/howtos/faq.html)

krimdomu commented 9 years ago

Hi,

this is right. currently jobcontrol is using the CMDB feature of rex to pass parameters to the tasks. This has the advantage that it is also possible to pass arrays and hashs to the tasks.

After the next release of Rex we will focus more on JobControl. So we will add options to also pass parameters to the tasks.