Unsolved
1 Message
0
451
April 27th, 2021 02:00
OME Ansible Modules - not working
Hello.
I've installed OME Ansible modules from this repo: https://github.com/dell/dellemc-openmanage-ansible-modules
Installation completes successfully (i've tryed collections and master branches), the modules is accessible from playbooks/roles, ansible-doc displays info about them.
The problem is: i have about ~200 new PowerEdge servers and need to control them from ansible roles, e.g. control their powerstate. There is example playbook for this purpose: https://github.com/dell/dellemc-openmanage-ansible-modules/blob/collections/playbooks/ome/powerstate/ome_powerstate.yml
When i launch this, i've got an error that i can't understand (the same error in python2):
btw i CAN successfully get the list of all server devices from ansible. I think there is some problem in the modules code.
Can anyone help me with this please?
p.s. I've tested Redfish API and got success with my tasks but the process is SO ugly (i.e. you need to download an XML file with all server properties, make changes, then convert XML file to a single string and POST to the API). So i prefer to use ansible modules....



DELL-Marco B
Moderator
•
4K Posts
0
April 27th, 2021 10:00
Hello,
I think that you can have support direct from the ansible team, you can check email contact at this page
https://dell.to/3dX8aXm
and also you can find other info that help you to solve the problem.
Let's see if other customer has the same issue.
Thanks
Marco