/dellemc-openmanage-ansible-modules

Dell EMC OpenManage Ansible Modules

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Dell EMC OpenManage Ansible Modules

Dell EMC OpenManage Ansible Modules allows data center and IT administrators to use RedHat 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 and OpenManage Enterprise Modular.

OpenManage Ansible Modules simplifies and automates provisioning, deployment, and updates of PowerEdge servers and modular infrastructure. It allows system administrators and software developers to introduce the physical infrastructure provisioning into their software provisioning stack, integrate with existing DevOps pipelines and manage their infrastructure using version-controlled playbooks, server configuration profiles, and templates in line with the Infrastructure-as-Code (IaC) principles.

Supported Platforms

  • iDRAC 7 based Dell EMC PowerEdge Servers with firmware versions 2.63.60.62 and above.
  • iDRAC 8 based Dell EMC PowerEdge Servers with firmware versions 2.80.80.80 and above.
  • iDRAC 9 based Dell EMC PowerEdge Servers with firmware versions 4.40.40.00 and above.
  • Dell EMC OpenManage Enterprise versions 3.7.0 and above.
  • Dell EMC OpenManage Enterprise-Modular versions 1.30.00 and above.

Prerequisites

  • Ansible >= 2.10.0
  • Python >=2.7.17 or >=3.6.5
  • To run the iDRAC modules, install OpenManage Python Software Development Kit (OMSDK) using either pip install omsdk --upgrade or pip install -r requirements.txt. OMSDK can also be installed from Dell EMC OpenManage Python SDK
  • Operating System
    • Red Hat Enterprise Linux (RHEL) 8.4 and 8.3
    • SUSE Linux Enterprise Server (SLES) 15 SP2 and 15 SP1
    • Ubuntu 20.04.2 and 20.04.1

Installation

  • From galaxy:
    ansible-galaxy collection install dellemc.openmanage

    • For offline installation on the Ansible control machine, download the required tar archive version of the collection from Dell EMC OpenManage collection and run the command given below:
      ansible-galaxy collection install dellemc-openmanage-<version>.tar.gz
  • From github:
    Install the collection from the github repository using the latest commit on the branch 'collections'
    ansible-galaxy collection install git+https://github.com/dell/dellemc-openmanage-ansible-modules.git,collections

Playbooks and Tutorials

  • For the latest sample playbooks and examples, see playbooks.
  • For the tutorials and sample use cases, see the tutorials available at developer.dell.com.

Documentation

  • For the OpenManage Ansible collection documentation, see Documentation. This documentation page is updated for every major and minor (patch release) and has the latest collection documentation.
  • OpenManage Ansible collection is an Ansible certified collection and also available as part of the Ansible Community Releases version v3.0.0 and later. Consequently, the documentation can also be accessed at Ansible Collection Documentation.

NOTE: There might be a scenario where the documentation available at Ansible Collection Documentation is not the latest version. And, this is due to differences in the release timelines for Ansible community release and OpenManage Ansible collection.

  • To view the documentation for a module, use the command ansible-doc. For example, $ ansible-doc dellemc.openmanage.<module-name>

LICENSE

This project is licensed under GPL-3.0 License. See the COPYING for more information.

Contributing

We welcome your contributions to OpenManage Ansible Modules. See Coding Guidelines for more details. You can refer our Code of Conduct here.

Testing

See here for further information on testing.

Debugging

To debug OpenManage Ansible Modules using IDE, see here

Maintenance

  • OpenManage Ansible Modules releases follows a monthly release cycle. On the last week of every month, the updated modules are posted to this repository.
  • OpenManage Ansible Modules releases follow semantic versioning.
  • OpenManage Ansible Modules deprecation cycle is aligned with Ansible.

Support

  • This branch corresponds to the release actively under development.
  • To report any issue, create an issue here.
  • If any requirements have not been addressed, then create an issue here.
  • To provide feedback to the development team, send an email to OpenManageAnsible@Dell.com.

Authors