I'm building an ansible playbook that creates user on different storage devices. I was able to find information for VNX, Brocade and Unity.
But I was not able to find any API or Ansible Module about user and role management for VPLEX. I found this module (https://github.com/dell/ansible-vplex), but it only contains management modules.
The storage admin only gave me the commands to create, list and delete a user:
# Add user
user add
# List user
user list | grep
# Remove user
user remove
But running this commands directly with ansible doesn't work due to how Ansible execute the playbook on a remote host.
Can someone point me in to API or ansible module that manages user and role permissions?
Hi, talking w the developers we dont have API for user creation. Can you tell me the story behind needing this feature? Generally users arent created and destroyed frequently, but if you can give me the larger orchestration you are trying to do I can try to get it on our roadmap
The idea behind the automation is that every-time we have a new hire or someone leave the company, the team lead can run the playbook to create/delete the user id from the different storage devices.
As we manage different storage devices, the intention is not to frequently create and destroy users but to have a centralize place to perform them.
Hello, I hope that is not a problem if I reply to this topic even if 2 month are gone.
Are there any news regarding this request? On our vplexs we use an user to monitor the cluster status, but the pwd expire after some time and we need to manually modify them. We would like to create an ansible playbook that go on all vplex and update the pwd. This module could be very usefull.
ankur.patel
2 Intern
•
286 Posts
1622
0
Posted January 26th, 2022 12:00
Hi! What do you mean "creates user on different storage devices"? Can you show me what you found with unity to compare?
There are only a few users