The prompt for sudo password is this
[sudo] password for
I tried setting these on the node resource so I could test easier.
sudo-command-enabled="true" sudo-password-option="option.sudoPassword2" sudo-prompt-pattern="\[sudo\] password for .*:" sudo-command-pattern="^sudo$"
But so far all I see is this.
Remote command failed with exit status -1
Sudo execution password response failed: Failed waiting for input prompt: Expected input was not seen in 5000 milliseconds
Failed: NonZeroResultCode: Remote command failed with exit status -1
Tried various regex patterns that all test ok outside of rundeck, so not sure what I am getting wrong.
With regards "sudo-password-storage-path", I did a quick search in the docs but did not see that listed as an option, is there a link to where I should look for that?
Andrew