Manage dataeng service to be able to use OM apps

This commit is contained in:
Jeremy Gardais 2019-04-01 16:53:32 +02:00
parent 570d6ca942
commit 6cd69cfacb
Signed by: jegardai
GPG Key ID: E759BAA22501AF32
4 changed files with 15 additions and 3 deletions

View File

@ -6,6 +6,7 @@
* Install libssl.1.0.0 from Dell repo as base package.
* Install libxslt1.1 as dependency for om.* apps.
* Manage systemd service that provide the web interface.
* Manage dataeng service to be able to use OpenManage apps.
## v1.0.2

View File

@ -10,7 +10,7 @@
## Overview
A role to manage Openmanage installation and configuration.
A role to manage OpenManage (via omreport, omconfig,…), it's web interface OMSA (OpenManage Server Administrator) and iDrac (with racadm)
## Role Variables
@ -50,6 +50,7 @@ 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.

View File

@ -1,5 +1,14 @@
---
# handlers file for openmanage
- name: restart dataeng service
service:
name: 'dataeng'
state: '{{ "restarted" if (openmanage__deploy_state == "present")
else "stopped" }}'
enabled: '{{ "yes" if (openmanage__deploy_state == "present")
else "no" }}'
- name: restart webgui service
service:
name: '{{ openmanage__webgui_service_name }}'

View File

@ -63,9 +63,10 @@
- '{{ openmanage__base_packages | to_nice_json }}'
register: pkg_base_result
until: pkg_base_result is success
notify: ['restart dataeng service']
## Manage webgui packages
- name: Ensure webgui packages are in there desired state
## Manage OMSA webgui packages
- name: Ensure OMSA-webgui packages are in there desired state
package:
name: '{{ item }}'
state: '{{ "present" if (openmanage__deploy_state == "present") and