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 libssl.1.0.0 from Dell repo as base package.
* Install libxslt1.1 as dependency for om.* apps. * Install libxslt1.1 as dependency for om.* apps.
* Manage systemd service that provide the web interface. * Manage systemd service that provide the web interface.
* Manage dataeng service to be able to use OpenManage apps.
## v1.0.2 ## v1.0.2

View File

@ -10,7 +10,7 @@
## Overview ## 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 ## Role Variables
@ -50,6 +50,7 @@ This role will:
* Add an APT repository in order to provide OpenManage. * Add an APT repository in order to provide OpenManage.
* Install dependencies packages. * Install dependencies packages.
* Install basic packages for all racadm usage. * 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. * Install and enable web interface on https://<ip_address>:1311 if requested.
* Fix idrac7's executable permissions. * Fix idrac7's executable permissions.
* Fix libssl error RAC1170. * Fix libssl error RAC1170.

View File

@ -1,5 +1,14 @@
--- ---
# handlers file for openmanage # 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 - name: restart webgui service
service: service:
name: '{{ openmanage__webgui_service_name }}' name: '{{ openmanage__webgui_service_name }}'

View File

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