getting RD_NODE_HOSTNAME from powershell?

19 views
Skip to first unread message

DD0UL QTC

unread,
Aug 4, 2021, 7:42:32 AM8/4/21
to rundeck-discuss
Moin,

our rundeck server is running onLinux. Some jobs are executed on windows nodes, we use winrm-exec.py to execute the powershell script.

Is there a variable that tell the name of the rundeck server?

Thanks for any hint

rac...@rundeck.com

unread,
Aug 4, 2021, 9:26:03 AM8/4/21
to rundeck-discuss
Hi,

Similar to this solution, you can store the hostname using the hostname command, save it on a data value and then use it across your jobs.

Regards.
Reply all
Reply to author
Forward
0 new messages