In the previous post, we learned about the Ansible Playbooks. In this post, lets learn how we can make use of these playbooks to get the iDRAC information from the Dell physical server.
To run a playbook, you first need to install the Dell's OpenManage Ansible Modules either from Github or from Ansible Galaxy. Dell EMC OpenManage Ansible Modules allows administrators to use Ansible to automate and orchestrate the configuration, deployment, and update of Dell EMC PowerEdge Servers and modular infrastructure by leveraging the management automation capabilities in-built into the Integrated Dell Remote Access Controller (iDRAC), OpenManage Enterprise (OME) and OpenManage Enterprise Modular (OMEM).
1. To run the iDRAC modules, install OpenManage Python Software Development Kit (OMSDK) using the below command
2. To verify the installed iDRAC Modules, run the below command
3. To install the OpenManage Ansible Modules, run the below command
4. Now, create an inventory file which has list of all the iDRAC servers which you'd like to monitor.
5. Create a playbook to fetch the Firmware inventory of the servers. I've created the playbook in the same directory where I've created the inventory file.
6. Run the playbook using below command
That's it for this post.
I'll try to include more examples in the next few blogs.
Thank you for reading!
*** Explore | Share | Grow ***
Comments