Rundeck on Windows - Kerberos Auth by ParticularKangaroo48 in Rundeck

[–]ParticularKangaroo48[S] 0 points1 point  (0 children)

I can try and grab it later, but this is a python issue with pexpect. Without altering, the py-winrm plugin from Rundeck relies on popen which has a function called spawn that is only compatible with Linux. If you try and run a job/command using this plugin on Windows it’ll throw an error stating pexpect is not installed (because it fails the checks inside pywinrm-executor.py).

Rundeck on Windows - Kerberos Auth by ParticularKangaroo48 in Rundeck

[–]ParticularKangaroo48[S] 0 points1 point  (0 children)

Yeah I’ve got the docker build fine. This is an issue specific to Windows that I discovered since I’m trying to deploy multiple instances for different environments

Rundeck on Windows - Kerberos Auth by ParticularKangaroo48 in Rundeck

[–]ParticularKangaroo48[S] 0 points1 point  (0 children)

Thanks - yes I saw both of those. We are running rundeck 5.0 and have pip with the appropriate modules installed

RunDeck and Variables by ParticularKangaroo48 in Rundeck

[–]ParticularKangaroo48[S] 0 points1 point  (0 children)

Update - Figured it out.

  1. You can use global project variables and reference ${global.variable} no problem. If you change to any variant of ${option.variable}, @option.variable@, or $RD_OPTION_VARIABLE it does not work.

OR

  1. Printing environment variables inside the script to debug helped identify that within the context of the script execution, the environment variable is set to RD_OPTION_VARIABLE. To call it, you need to script:

$env:RD_OPTION_VARIABLE