Hi Martin,
That’s the way how Rundeck works, if you want to put user data on Rundeck, just create an option and then execute the job.
To get the info from jobs create the option and use it in the ${option.myoption} format for command step, @option.myoption@ or $RD_OPTION_MYOPTION for “external scripts”.
Here is an example. You can import it to your test instance and see how it works.
- defaultTab: nodes
description: ''
executionEnabled: true
id: 4743033d-5246-479b-aa22-3e7122aa2868
loglevel: INFO
name: MyOption
nodeFilterEditable: false
options:
- name: input
value: world
plugins:
ExecutionLifecycle: null
scheduleEnabled: true
sequence:
commands:
- script: echo "hello @option.input@"
keepgoing: false
strategy: node-first
uuid: 4743033d-5246-479b-aa22-3e7122aa2868
Hope it helps!