Ansible modules for Out-Of-Band Controllers using Redfish APIs
This repository contains the Ansible playbook samples and Ansible roles for automating the PowerEdge server lifecycle management using iDRACs and OpenManage Enterprise. The examples highlight the capabilities of the modules and their ability to be integrated into more complex playbooks, workflows, and applications.
These playbooks should give you a very good idea of how to create your own playbooks for your own needs.
Here is a sample inventory file.
Example playbooks and roles use the following collection and modules:
yaml --- collections: - name: community.general version: 3.7.0 - name: dellemc.openmanage version: 4.1.0Note: You can alternatively install the Ansible community distribution
(pip install ansible)if you don't want to manage individual collections.
git clone https://github.com/dell/redfish-ansible-module.gitto pull the latest commit of the playbooks and role from GitHub
Each Ansible role contains a README with instructions on prerequisites, installation, and usage. Be sure to also review supported resource versions and follow installation instructions for the underlying modules used in the examples per their documentation.
The examples are provided as is with no warranties. Some basic knowledge of the Red Hat Ansible Automation Platform and additional technology integration is expected.
If you run into any problems or would like to provide feedback, please open an issue here