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

Creation of users in pve realm with password #80

Closed
pvanhemmen opened this issue Nov 2, 2019 · 2 comments
Closed

Creation of users in pve realm with password #80

pvanhemmen opened this issue Nov 2, 2019 · 2 comments
Labels

Comments

@pvanhemmen
Copy link

Hey there,

I'm trying to create an api user in the PVE realm with a password like this:

pve_users:
  - name: api@pve
    password: "MyPassword123"
    groups:
      - api_users

While the user itself gets created correctly, the corresponding password is not stored on the server, thus the user is not able to login. According to the documentation passwords in the pve realm should be encrypted and written to /etc/pve/priv/shadow.cfg. This file does not exist upon creation of the user through this role.

I'm able to set the password for the user from within the web admin manually, upon which the file is created and I'm able to login with the user. Maybe I'm missing something here?

ansible 2.8.5 on macOS 10.15.1
Debian 10.1
Proxmox 6.0-9

Thanx!

@lae lae added the bug label Nov 2, 2019
@lae
Copy link
Owner

lae commented Nov 2, 2019

Hm, the role uses the Proxmox API to create/modify users. I'll see if I can reproduce this.

@pvanhemmen
Copy link
Author

If I can help, please let me know!

@lae lae closed this as completed in 0bc3361 Nov 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants