Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bad Key Store behavior, permissions denied when use become #1973

Open
karloff10 opened this issue Apr 26, 2024 · 0 comments
Open

Bad Key Store behavior, permissions denied when use become #1973

karloff10 opened this issue Apr 26, 2024 · 0 comments

Comments

@karloff10
Copy link

karloff10 commented Apr 26, 2024

Hi, i just want to report that the behavior of the key store is not intuitive and cost a lot of 'try & error' run to find the underlying problem.

What is the Problem?
All my jobs which use become: true run into permission denied.

What i did:

  • Add SSH-Key with Username as Key Store Object and use it inside the Inventory
  • Add a Login with Password with (the optional) Username and the Password also use it inside the inventory

What is the workaround?
Remove from the Key Store object Login with password the Username. If you enter any username it will always fail.
Just enter the password with an empty username.



I think this should be fixed, or at least it should be written somewhere that you are not allowed to enter usernames in the username field, if you plan the use the become feature.


For the record: i use latest stable release on an arch linux

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant