2018-11-23 15:19:21 +01:00
|
|
|
|
---
|
|
|
|
|
# .. vim: foldmarker=[[[,]]]:foldmethod=marker
|
|
|
|
|
|
|
|
|
|
# ipr-cnrs.openmanage default variables [[[
|
|
|
|
|
# ======================================
|
|
|
|
|
|
|
|
|
|
# Repository [[[
|
|
|
|
|
# -----------------------------
|
|
|
|
|
|
|
|
|
|
# .. envvar:: openmanage__repositories [[[
|
|
|
|
|
#
|
|
|
|
|
# List of APT repositories (and related info such gpg keys) that can provide
|
|
|
|
|
# OpenManage. Each entry is a dict that can be used to provide both
|
|
|
|
|
# apt_repository and apt_key.
|
|
|
|
|
#
|
|
|
|
|
openmanage__repositories:
|
2021-08-30 13:48:57 +02:00
|
|
|
|
# Version 10100 - for Debian Bullseye and Ubuntu Focal
|
|
|
|
|
# Force using Focal repo as Bullseye repo doesn't exist and Focal is based on Debian Bullseye
|
|
|
|
|
- repo: 'deb http://linux.dell.com/repo/community/openmanage/10100/focal focal main'
|
|
|
|
|
mode: '0644'
|
|
|
|
|
filename: 'dell.openmanage'
|
|
|
|
|
key_id: '1285491434D8786F'
|
|
|
|
|
key_url: 'https://linux.dell.com/repo/pgp_pubkeys/0x1285491434D8786F.asc'
|
|
|
|
|
state: '{{ openmanage__deploy_state
|
|
|
|
|
if (ansible_distribution_release in ["bullseye", "focal"])
|
|
|
|
|
else "absent" }}'
|
2020-09-23 15:07:01 +02:00
|
|
|
|
# Version 940 - for Debian Buster and Ubuntu Bionic
|
|
|
|
|
# Force using Bionic repo as Buster repo doesn't exist and Bionic is based on Debian Buster
|
|
|
|
|
- repo: 'deb http://linux.dell.com/repo/community/openmanage/940/bionic bionic main'
|
|
|
|
|
mode: '0644'
|
|
|
|
|
filename: 'dell.openmanage'
|
|
|
|
|
key_id: '1285491434D8786F'
|
2021-08-30 13:46:52 +02:00
|
|
|
|
key_url: 'https://linux.dell.com/repo/pgp_pubkeys/0x1285491434D8786F.asc'
|
2020-09-23 15:07:01 +02:00
|
|
|
|
state: '{{ openmanage__deploy_state
|
|
|
|
|
if (ansible_distribution_release in ["buster", "bionic"])
|
|
|
|
|
else "absent" }}'
|
2018-11-23 15:19:21 +01:00
|
|
|
|
# Version 910 - for Debian Stretch and Ubuntu Xenial
|
|
|
|
|
- repo: 'deb http://linux.dell.com/repo/community/openmanage/910/{{ ansible_distribution_release }} {{ ansible_distribution_release }} main'
|
2018-12-04 14:10:00 +01:00
|
|
|
|
mode: '0644'
|
2018-11-23 15:19:21 +01:00
|
|
|
|
filename: 'dell.openmanage'
|
|
|
|
|
key_id: '1285491434D8786F'
|
2021-08-30 13:46:52 +02:00
|
|
|
|
key_url: 'https://linux.dell.com/repo/pgp_pubkeys/0x1285491434D8786F.asc'
|
2018-11-23 15:19:21 +01:00
|
|
|
|
state: '{{ openmanage__deploy_state
|
|
|
|
|
if (ansible_distribution_release in ["stretch", "xenial"])
|
|
|
|
|
else "absent" }}'
|
2020-09-23 14:59:53 +02:00
|
|
|
|
# Previous OpenManage version for Debian until Jessie and Ubuntu until Trusty
|
2018-11-23 15:19:21 +01:00
|
|
|
|
- repo: 'deb http://linux.dell.com/repo/community/debian/dists/{{ ansible_distribution_release }} {{ ansible_distribution_release }} openmanage'
|
2018-12-04 14:10:00 +01:00
|
|
|
|
mode: '0644'
|
2018-11-23 15:19:21 +01:00
|
|
|
|
filename: 'dell.openmanage'
|
|
|
|
|
key_id: '1285491434D8786F'
|
2021-08-30 13:46:52 +02:00
|
|
|
|
key_url: 'https://linux.dell.com/repo/pgp_pubkeys/0x1285491434D8786F.asc'
|
2018-11-23 15:19:21 +01:00
|
|
|
|
state: '{{ openmanage__deploy_state
|
2020-09-23 14:59:53 +02:00
|
|
|
|
if ((ansible_distribution == "Debian" and ansible_distribution_major_version is version("8", "<=")) or
|
|
|
|
|
(ansible_distribution == "Ubuntu" and ansible_distribution_version is version("14.04", "<=")))
|
2018-11-23 15:19:21 +01:00
|
|
|
|
else "absent" }}'
|
|
|
|
|
# ]]]
|
|
|
|
|
# ]]]
|
2018-11-26 11:48:59 +01:00
|
|
|
|
# Installation and Packages [[[
|
2018-11-23 15:19:21 +01:00
|
|
|
|
# -----------------------------
|
|
|
|
|
|
|
|
|
|
# .. envvar:: openmanage__deploy_state [[[
|
|
|
|
|
#
|
|
|
|
|
# What is the desired state which this role should achieve ? Possible options :
|
|
|
|
|
#
|
|
|
|
|
# ``present``
|
2018-11-23 16:37:21 +01:00
|
|
|
|
# Default for DELL hardware. Ensure that openmanage is installed and configured as requested.
|
2018-11-23 15:19:21 +01:00
|
|
|
|
#
|
|
|
|
|
# ``absent``
|
|
|
|
|
# Ensure that openmanage is uninstalled and it's configuration is removed.
|
|
|
|
|
#
|
2018-11-23 16:37:21 +01:00
|
|
|
|
openmanage__deploy_state: '{{ "present"
|
2018-12-04 14:02:42 +01:00
|
|
|
|
if (ansible_system_vendor is search("Dell")
|
|
|
|
|
and (ansible_virtualization_role == "host"))
|
2018-11-23 16:37:21 +01:00
|
|
|
|
else "absent" }}'
|
2018-11-23 15:19:21 +01:00
|
|
|
|
# ]]]
|
2018-11-26 11:48:59 +01:00
|
|
|
|
# .. envvar:: openmanage__install_recommends [[[
|
|
|
|
|
#
|
|
|
|
|
# If recommended packages should be install ? Possible options :
|
|
|
|
|
#
|
2021-09-01 11:52:45 +02:00
|
|
|
|
# ``false``
|
2018-11-26 11:48:59 +01:00
|
|
|
|
# Default.
|
|
|
|
|
#
|
2021-09-01 11:52:45 +02:00
|
|
|
|
# ``true``
|
2018-11-26 11:48:59 +01:00
|
|
|
|
#
|
2021-09-01 11:52:45 +02:00
|
|
|
|
openmanage__install_recommends: false
|
2018-11-26 11:48:59 +01:00
|
|
|
|
# ]]]
|
2018-11-26 12:04:12 +01:00
|
|
|
|
# .. envvar:: openmanage__dep_packages [[[
|
|
|
|
|
#
|
|
|
|
|
# Fix some dependencies to be able to run racadm.
|
|
|
|
|
#
|
|
|
|
|
openmanage__dep_packages:
|
|
|
|
|
- 'libargtable2-0'
|
2020-09-24 10:04:33 +02:00
|
|
|
|
- 'libncurses5'
|
2019-03-28 13:52:23 +01:00
|
|
|
|
- 'libxslt1.1'
|
2018-11-26 12:04:12 +01:00
|
|
|
|
# ]]]
|
2018-11-26 11:48:59 +01:00
|
|
|
|
# .. envvar:: openmanage__base_packages [[[
|
|
|
|
|
#
|
|
|
|
|
# List of base packages to install.
|
|
|
|
|
#
|
|
|
|
|
openmanage__base_packages:
|
|
|
|
|
- 'srvadmin-base'
|
|
|
|
|
- 'srvadmin-idracadm7'
|
2019-03-28 09:57:09 +01:00
|
|
|
|
- 'srvadmin-idracadm8'
|
2018-11-26 11:48:59 +01:00
|
|
|
|
- 'srvadmin-omcommon'
|
|
|
|
|
- 'srvadmin-server-cli'
|
|
|
|
|
- 'srvadmin-server-snmp'
|
|
|
|
|
- 'srvadmin-storageservices'
|
|
|
|
|
# ]]]
|
2020-09-23 17:01:24 +02:00
|
|
|
|
# .. envvar:: openmanage__stretch_packages [[[
|
2020-09-23 15:36:06 +02:00
|
|
|
|
#
|
2020-09-23 17:01:24 +02:00
|
|
|
|
# List of some packages specific to Debian Stretch (or Ubuntu Xenial)
|
|
|
|
|
# and previous versions.
|
2020-09-23 15:36:06 +02:00
|
|
|
|
#
|
2020-09-23 17:01:24 +02:00
|
|
|
|
# Contains required packages (libssl…) and some packages that are no
|
|
|
|
|
# longer presents in more recent versions of OpenManage.
|
2020-09-23 15:36:06 +02:00
|
|
|
|
#
|
2020-09-23 17:01:24 +02:00
|
|
|
|
openmanage__stretch_packages:
|
2020-09-23 15:36:06 +02:00
|
|
|
|
- 'libssl1.0.0'
|
2020-09-23 17:01:24 +02:00
|
|
|
|
- 'srvadmin-idrac-ivmcli'
|
|
|
|
|
- 'srvadmin-idrac-vmcli'
|
2020-09-23 15:36:06 +02:00
|
|
|
|
# ]]]
|
2019-03-28 14:49:51 +01:00
|
|
|
|
# .. envvar:: openmanage__webgui_state [[[
|
|
|
|
|
#
|
|
|
|
|
# What is the desired state for web interface of OMSA ? Possible options :
|
|
|
|
|
#
|
|
|
|
|
# ``absent``
|
|
|
|
|
# Default. Ensure that service is stopped and packages related to web interface
|
|
|
|
|
# are uninstalled.
|
|
|
|
|
#
|
|
|
|
|
# ``present``
|
|
|
|
|
# Install related packages and start the service.
|
|
|
|
|
#
|
|
|
|
|
openmanage__webgui_state: "absent"
|
|
|
|
|
# ]]]
|
|
|
|
|
# .. envvar:: openmanage__webgui_packages [[[
|
|
|
|
|
#
|
|
|
|
|
# List of packages to provide web interface to OMSA.
|
|
|
|
|
#
|
|
|
|
|
openmanage__webgui_packages:
|
|
|
|
|
- 'srvadmin-webserver'
|
|
|
|
|
# ]]]
|
|
|
|
|
|
2021-09-02 17:38:01 +02:00
|
|
|
|
# ]]]
|
|
|
|
|
# Service management [[[
|
|
|
|
|
# ----------------------
|
|
|
|
|
|
|
|
|
|
# .. envvar:: openmanage__snmpd_service_name [[[
|
|
|
|
|
#
|
|
|
|
|
# SNMPD service name to manage.
|
|
|
|
|
openmanage__snmpd_service_name: 'snmpd'
|
|
|
|
|
# ]]]
|
|
|
|
|
# .. envvar:: openmanage__snmpd_service_enabled [[[
|
|
|
|
|
#
|
|
|
|
|
# If the SNMPD service should be enabled at startup ? Possible options are :
|
|
|
|
|
#
|
|
|
|
|
# ``true``
|
|
|
|
|
# Default. The service is enabled.
|
|
|
|
|
#
|
|
|
|
|
# ``false``
|
|
|
|
|
# The service is disabled from startup.
|
|
|
|
|
openmanage__snmpd_service_enabled: true
|
|
|
|
|
# ]]]
|
|
|
|
|
# .. envvar:: openmanage__snmpd_service_override_path [[[
|
|
|
|
|
#
|
|
|
|
|
# Path to store SNMPD custom conf.
|
|
|
|
|
openmanage__snmpd_service_override_path: '/etc/systemd/system/snmpd.service.d/override.conf'
|
|
|
|
|
# ]]]
|
|
|
|
|
# .. envvar:: openmanage__snmpd_service_override_content [[[
|
|
|
|
|
#
|
|
|
|
|
# Template used to provide systemd custom conf for SNMPD service.
|
|
|
|
|
openmanage__snmpd_service_override_content: 'etc/systemd/system/snmpd.service.d/override.conf.j2'
|
|
|
|
|
# ]]]
|
|
|
|
|
|
2019-03-28 16:32:58 +01:00
|
|
|
|
# ]]]
|
|
|
|
|
# Web interface [[[
|
|
|
|
|
# -----------------------------
|
|
|
|
|
|
|
|
|
|
# .. envvar:: openmanage__webgui_service_name [[[
|
|
|
|
|
#
|
|
|
|
|
# Name of the systemd unit to manage web interface
|
|
|
|
|
#
|
|
|
|
|
openmanage__webgui_service_name: 'dsm_om_connsvc'
|
|
|
|
|
# ]]]
|
|
|
|
|
|
2018-11-23 15:19:21 +01:00
|
|
|
|
# ]]]
|