Closed artemoz2021 closed 3 years ago
@artemoz2021 The module requires administrator privilege level. Operator privilege level in not sufficient
Thank you for the reply. In my case there's a many engineers who need to use this role, but don't have admin privileges. Also we can't use the one ADMIN user because of the company policies. I've implemented the solution via redfish modules that is included into standard ansible module library.
Hello.
What i have:
iDRAC8, FW: 2.70.70.70, BIOS: 2.3.4, PowerEdge R530 iDRAC9, FW: 4.40.00.00, BIOS: 2.10.2, PowerEdge R740xd Python: 3.8.2 ansible: 2.10.4, 2.9.18 (also tryed) dellemc-openmanage-ansible-modules: collections branch (current), master branch (also tryed) A user with the following privileges:
What i'm trying to do:
The problem
The power on/off feature is worked correctly, but if i'm trying to change BIOS settings like set Uefi instead of Bios or activate PXE on some of the NICs - the role execution fails with the following errors:
master branch:
collections branch
Looks like there is 403 status code that means the access is denied for the user. But if i log in to the iDRAC via browser with the same credentials (operator) and try to change this BIOS settings manually - it works successfully (changes successfully). So, why i can't change the settings via ansible, but can via the browser (with the same credentials)?
What i've tryed:
different versions of ansible different versions of python different branches of dellemc-openmanage-ansible-modules
My example playbook
Please help me.