Users Guide
Table Of Contents
- Dell EMC OpenManage Ansible Modules Version 2.0 User’s Guide
- Overview
- Getting Started
- Modules for iDRAC
- How OpenManage Ansible Modules for iDRAC works
- Running your first iDRAC Playbook
- Updating Firmware
- Configuring PowerEdge Servers
- Deploying operating system
- Server Inventory
- Server administration tasks
- Modules for OpenManage Enterprise (OME)
- Troubleshooting
- Accessing documents from the Dell EMC support site
---
- hosts: PowerEdge
connection: local
gather_facts: False
tasks:
- name: Get hardware inventory
dellemc_get_system_inventory:
idrac_ip: "{{ idrac_ip }}"
idrac_user: "{{ idrac_user }}"
idrac_pwd: "{{ idrac_pwd }}"
4. Now run the playbook. Run the following command from the directory where you created the inventory and the playbook:
ansible-playbook playbook.yml -i inventory
5. Press Enter.
With OpenManage Ansible Modules, you can construct a playbook with a set of modules resulting in an automation workflow for
configuration, deployments, and updates of PowerEdge servers.
To view the list of all available iDRAC modules:
1. Run the following command on the Ansible control machine:
ansible-doc -l | grep "idrac"
2. Press Enter.
List of the available iDRAC modules is displayed.
To view the documentation of a module:
1. Run the following command on the Ansible control machine:
ansible-doc <module name>
2. Press Enter.
Updating Firmware
You can maintain up-to-date firmware versions of Dell EMC server components to get better efficiency, security protection and
enhanced features. Create update sources to do the firmware update.
Following are the tasks for the firmware update activities:
● View firmware inventory
● Install firmware
● Install iDRAC firmware
View firmware inventory
Command: dellemc_get_firmware_inventory
Synopsis
You can view the firmware inventory of a server using this module. This module displays components of a server and the
corresponding firmware versions.
Check_mode support: No
Options
Table 1. dellemc_get_firmware_inventory
Parameter Required Default Choices Comments
idrac_ip Yes NA NA iDRAC IP Address
idrac_username Yes NA NA iDRAC username
Modules for iDRAC 9