Actions
Bug #37136
closedSSH User is ignored in advanced field of job invocation
Difficulty:
Triaged:
No
Description
How reproducible:
Always
Steps to reproduce:
- Schedule Job
- Ansible Commands + Run Command (e.g. whoami)
- Under SSH User, set a user that is different from the global one or the one set in the parameter
remote_execution_ssh_user
- Run the job
Result:
Ansible still tries to connect using the host parameter or the global setting and completely ignores the setting in the advanced field of the job.
You can check this for example by looking at /var/log/secure
on the target host.
Expected result:
I expect the advanced field in the job invocation to have the highest priority. It should override the remote_execution_effective_user
host parameter and the corresponding global settings if they are present.
Additional Info:
I am aware of Issue n. 36448. It looks possibly related, but I cannot reproduce it (the effective user is NOT ignored for me, only the SSH user).
Updated by The Foreman Bot 8 months ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman_ansible/pull/691 added
Updated by The Foreman Bot 7 months ago
- Fixed in Releases foreman_ansible-13.0.3 added
Updated by Ottavia Balducci 7 months ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman_ansible|ee8422420011f6da7aac469f565d26b838456b20.
Updated by Nofar Alfassi 5 months ago
- Has duplicate Bug #36448: Ansible Command ignores advance field added
Actions