Need help with redfish-ansible-module?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

dell
155 Stars 72 Forks GNU General Public License v3.0 367 Commits 13 Opened issues

Description

Ansible modules for Out-Of-Band Controllers using Redfish APIs

Services available

!
?

Need anything else?

Contributors list

Ansible playbooks and roles for iDRACs 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:

Requirements

Ansible

  • These example playbooks and roles have been developed and tested with maintained version of Ansible core (>=
    2.11
    )
  • When using ansible-core, you will also need to install the following collections:
    yaml
    ---
    collections:
      - name: community.general
        version: 3.7.0
      - name: dellemc.openmanage
        version: 4.1.0
    
    Note: You can alternatively install the Ansible community distribution
    (pip install ansible)
    if you don't want to manage individual collections.
  • Instructions on how to install Ansible can be found in the Ansible website

Jinja2

  • This role uses Jinja2 templates. Ansible core installs Jinja2 by default, but depending on your install and/or upgrade path, you might be running an outdated version of Jinja2. The minimum version of Jinja2 required for the role to properly function is
    2.11
    .
  • Instructions on how to install Jinja2 can be found in the Jinja2 website.

Installation

Git

Use

git clone https://github.com/dell/redfish-ansible-module.git
to pull the latest commit of the playbooks and role from GitHub

Documentation

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.

Support

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

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.