Is it somehow possible to use/set SSH user (remote_execution_ssh_user) as the same user, with which I have logged in to the Foreman web UI ? Something like “current user” functionality under job template, which makes an effective user the same as you are logged in.
The problem is that we have for example two different accounts(external AD accounts), who want to run jobs through Remote Execution. I know that one solution is to change every time under the settings “remote_execution_ssh_user” value. But this seems little bit troublesome. Does anyone have any other idea/solution for that kind of problem?
Foreman Katello and Remote Execution versions:
Foreman - 3.15
Remote Execution - 1.7
Distribution and version: