ansible.openmanage/README.md

3.0 KiB
Raw Blame History

Openmanage

  1. Overview
  2. Role Variables
  3. Example Playbook
  4. Configuration
  5. Development
  6. License
  7. Author Information

Overview

A role to manage OpenManage (via omreport, omconfig,…), it's web interface OMSA (OpenManage Server Administrator) and iDrac (with racadm)

Role Variables

  • openmanage__repositories: List of APT repositories that can provide OpenManage. Each entry is a dict [default: See default/main.yml].
  • openmanage__deploy_state: The desired state this role should achieve [default for Dell hardware: present].
  • openmanage__install_recommends: If recommended packages should be install [default: False].
  • openmanage__dep_packages: List of dependencies packages to be able to run racadm [default: See default/main.yml].
  • openmanage__base_packages: List of base packages for all racadm base usage [default: See default/main.yml].
  • openmanage__webgui_state: The desired state for web interface of OMSA [default : absent].
  • openmanage__webgui_packages: List of packages to provide web interface to OMSA [default: See default/main.yml].
  • openmanage__webgui_service_name: Name of the systemd unit to manage web interface [default: dsm_om_connsvc].

Example Playbook

  • Use defaults vars:
- hosts: mynode.DOMAIN
  roles:
    - role: ipr-cnrs.openmanage
      tags: ['role::openmanage', 'ipr', 'idrac']
  • Enable web interface for OMSA (on https://<ip_address>:1311/):
- hosts: mynode.DOMAIN
  roles:
    - role: ipr-cnrs.openmanage
      openmanage__webgui_state: "present"
      tags: ['role::openmanage', 'ipr', 'idrac']

Configuration

This role will:

  • Add an APT repository in order to provide OpenManage.
  • Install dependencies packages.
  • Install basic packages for all racadm usage.
  • Start dataeng service to be able to use OpenManage applications (omreport, omconfig,…).
  • Install and enable web interface on https://<ip_address>:1311 if requested.
  • Fix idrac7's executable permissions.
  • Fix libssl error RAC1170.
  • Set up symlinks to be able to run apps from $PATH.

Development

This source code comes from our Gogs instance and the Github repo exist just to be able to send the role to Ansible Galaxy…

But feel free to send issue/PR here :)

Thanks to this hook, Github automatically got updates from our Gogs instance :)

License

WTFPL

Author Information

Jérémy Gardais