Jeremy Gardais 9f301d53cf | ||
---|---|---|
defaults | ||
handlers | ||
meta | ||
tasks | ||
templates/etc/systemd/system/snmpd.service.d | ||
tests | ||
.travis.yml | ||
CHANGELOG.md | ||
README.md |
README.md
Openmanage
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__stretch_packages : List of some packages specific to Debian Stretch (or Ubuntu Xenial) and previous versions [default :
See default/main.yml
]. - openmanage__snmpd_service_name : SNMPD service name to manage [default :
snmpd
]. - openmanage__snmpd_service_enabled : If the SNMPD service should be enabled at startup [default :
true
]. - openmanage__snmpd_service_override_path : Path to store SNMPD custom conf [default :
/etc/systemd/system/snmpd.service.d/override.conf
]. - openmanage__snmpd_service_override_content : Template used to provide systemd custom conf for SNMPD service [default :
etc/systemd/system/snmpd.service.d/override.conf.j2
]. - 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 (until Debian Stretch or Ubuntu Xenial).
- 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 :)
Thanks to @roumano
License
Author Information
Jérémy Gardais
- Source : on IPR's Gogs
- IPR (Institut de Physique de Rennes)