Groups
Groups
Sign in
Groups
Groups
rundeck-discuss
Conversations
About
Send feedback
Help
getting RD_NODE_HOSTNAME from powershell?
19 views
Skip to first unread message
DD0UL QTC
unread,
Aug 4, 2021, 7:42:32 AM
8/4/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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 AM
8/4/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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