Git Product home page Git Product logo

redfish-ansible-playbooks's Introduction

Copyright 2019 DMTF. All rights reserved.

Redfish Ansible Playbooks

About

This repository contains a set of example Ansible playbooks for invoking the Redfish Ansible modules.

Prerequisites

To use these playbooks, you first need to install the latest stable release of Ansible (currently version 2.9). The Redfish Ansible modules are included in the Ansible distribution. Instructions for installing Ansible can be found here:

Ansible Installation Guide

Release process

The playbooks in the master branch of this repository are designed to work with the latest stable release of Ansible. The playbooks in the devel branch can have new and modified playbooks that reflect new features in the Ansible devel branch.

Running the playbooks

  1. Clone this repository
  2. Edit the example inventory.yml file to specify the hostname/ip and credentials of your Redfish service(s).
  3. Run a playbook, for example:
ansible-playbook -i inventory.yml playbooks/systems/get_system_inventory.yml

Redfish Ansible modules

The Redfish Ansible modules are maintained in the main Ansible GitHub repository.

The three Redfish modules are summarized here:

  1. redish_command (source: redish_command.py)

    The redfish_command module performs Out-Of-Band (OOB) controller operations like log management, adding/deleting/modifying users, and power operations (e.g. on, off, reboot, etc.).

  2. redfish_config (source: redfish_config.py)

    The redfish_config module performs OOB controller operations like setting the BIOS configuration.

  3. redfish_info (source: redfish_info.py)

    The redfish_info module retrieves information about the OOB controller like Systems inventory and Accounts inventory.

All three of the above modules use this utility module: redfish_utils.py

Contributing

For the Redfish Ansible modules: File issues or submit pull requests in the Ansible repo following the Ansible Community Guide.

For the Redfish Ansible playbooks: File issues or submit pull requests in this github repository.

OEM Extensions

See OEM_EXTENSIONS.md for an outine of how to extend the standard Redfish Ansible modules to support OEM extensions.

Acknowledgements

These playbooks are based on the ones provided in https://github.com/dell/redfish-ansible-module

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.