2018-11-23 15:19:21 +01:00
# Openmanage
1. [Overview ](#overview )
2. [Role Variables ](#role-variables )
3. [Example Playbook ](#example-playbook )
4. [Configuration ](#configuration )
5. [Development ](#development )
6. [License ](#license )
7. [Author Information ](#author-information )
## Overview
2019-04-01 16:53:32 +02:00
A role to manage OpenManage (via omreport, omconfig,…), it's web interface OMSA (OpenManage Server Administrator) and iDrac (with racadm)
2018-11-23 15:19:21 +01:00
## Role Variables
2019-02-27 14:16:11 +01:00
* **openmanage__repositories** : List of APT repositories that can provide OpenManage. Each entry is a dict [default : `See default/main.yml` ].
2019-03-28 14:49:51 +01:00
* **openmanage__deploy_state** : The desired state this role should achieve [default for Dell hardware : `present` ].
2021-09-01 11:52:45 +02:00
* **openmanage__install_recommends** : If recommended packages should be install [default : `false` ].
2018-11-26 12:04:12 +01:00
* **openmanage__dep_packages** : List of dependencies packages to be able to run racadm [default : `See default/main.yml` ].
2018-11-26 11:48:59 +01:00
* **openmanage__base_packages** : List of base packages for all racadm base usage [default : `See default/main.yml` ].
2020-09-23 17:01:24 +02:00
* **openmanage__stretch_packages** : List of some packages specific to Debian Stretch (or Ubuntu Xenial) and previous versions [default : `See default/main.yml` ].
2021-09-02 17:38:01 +02:00
* **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` ].
2019-03-28 14:49:51 +01:00
* **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` ].
2019-03-28 16:32:58 +01:00
* **openmanage__webgui_service_name** : Name of the systemd unit to manage web interface [default : `dsm_om_connsvc` ].
2018-11-23 15:19:21 +01:00
## Example Playbook
* Use defaults vars :
``` yaml
- hosts: mynode.DOMAIN
roles:
- role: ipr-cnrs.openmanage
tags: ['role::openmanage', 'ipr', 'idrac']
```
2019-03-28 14:49:51 +01:00
* Enable web interface for OMSA (on https://< ip_address > :1311/) :
``` yaml
- hosts: mynode.DOMAIN
roles:
- role: ipr-cnrs.openmanage
openmanage__webgui_state: "present"
tags: ['role::openmanage', 'ipr', 'idrac']
```
2018-11-23 15:19:21 +01:00
## Configuration
This role will :
* Add an APT repository in order to provide OpenManage.
2018-11-26 12:04:12 +01:00
* Install dependencies packages.
2018-11-26 11:48:59 +01:00
* Install basic packages for all racadm usage.
2019-04-01 16:53:32 +02:00
* Start dataeng service to be able to use OpenManage applications (omreport, omconfig,…).
2019-03-28 14:49:51 +01:00
* Install and enable web interface on https://< ip_address > :1311 if requested.
2018-11-26 14:14:24 +01:00
* Fix idrac7's executable permissions.
2020-09-23 15:49:59 +02:00
* Fix libssl error RAC1170 (until Debian Stretch or Ubuntu Xenial).
2019-04-10 13:56:34 +02:00
* Set up symlinks to be able to run apps from $PATH.
2018-11-23 15:19:21 +01:00
## Development
This source code comes from our [Gogs instance][openmanage source] and the [Github repo][openmanage github] exist just to be able to send the role to Ansible Galaxy…
But feel free to send issue/PR here :)
Thanks to this [hook][gogs to github hook], Github automatically got updates from our [Gogs instance][openmanage source] :)
2020-09-23 15:49:59 +02:00
Thanks to @roumano
2018-11-23 15:19:21 +01:00
## License
[WTFPL][wtfpl website]
## Author Information
Jérémy Gardais
* Source : [on IPR's Gogs][openmanage source]
* [IPR][ipr website] (Institut de Physique de Rennes)
[gogs to github hook]: https://stackoverflow.com/a/21998477
[openmanage source]: https://git.ipr.univ-rennes1.fr/cellinfo/ansible.openmanage
[openmanage github]: https://github.com/ipr-cnrs/openmanage
[wtfpl website]: http://www.wtfpl.net/about/
[ipr website]: https://ipr.univ-rennes1.fr/