-
Notifications
You must be signed in to change notification settings - Fork 164
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
Executing dellemc_configure_idrac_users twice fails the second attempt #100
Comments
I see the same problem here. |
Thank you for reporting @mikeletux and @thizmo. We will look into it and do the needful |
The dellemc_configure_idrac_users module does not adhere to Ansible best practices. It should use a 'state' parameter instead of 'action' and accept 'present' or 'absent'. Then it should detect if this users already exists and modify it accordingly. |
This module also needs rewritten to remove the dependency on the liaison share. I set 'share_name' to /tmp and I get "Unable to export scp, exception occurred" |
@tsquillario We have addressed this issue with the new module "idrac_user" Kindly verify and let us know |
@tsquillario Can you please verify and close this issue? |
@tsquillario This has been fixed module 'idrac_user' as stated above. Hence closing this issue. Thank You |
Hello there,
I've been experiencing issues running the dellemc_configure_idrac_users module.
Turns out that if you use it for creating a user that does not exist, it works, but if you run the exact same thing twice, it gives an error. My conclusion on this is that the module is not idempotent.
I use the parameter "action" with "create" value.
dellemc_configure_idrac_users:
idrac_ip: "{{ idrac_ip }}"
idrac_user: "{{ idrac_user }}"
idrac_password: "{{ idrac_password }}"
share_name: "{{ share_name }}"
share_mnt: "{{ share_mnt }}"
action: "create"
user_name: "{{ user }}"
user_password: "{{ password }}"
privilege_users: "Administrator"
Can you please check this?
Many thanks.
/Miguel
The text was updated successfully, but these errors were encountered: