ansible.openmanage/defaults/main.yml

143 lines
5.3 KiB
YAML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
# .. 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:
# 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'
key_keyserver: 'pool.sks-keyservers.net'
state: '{{ openmanage__deploy_state
if (ansible_distribution_release in ["buster", "bionic"])
else "absent" }}'
# 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'
mode: '0644'
filename: 'dell.openmanage'
key_id: '1285491434D8786F'
key_keyserver: 'pool.sks-keyservers.net'
state: '{{ openmanage__deploy_state
if (ansible_distribution_release in ["stretch", "xenial"])
else "absent" }}'
# Previous OpenManage version for Debian until Jessie and Ubuntu until Trusty
- repo: 'deb http://linux.dell.com/repo/community/debian/dists/{{ ansible_distribution_release }} {{ ansible_distribution_release }} openmanage'
mode: '0644'
filename: 'dell.openmanage'
key_id: '1285491434D8786F'
key_keyserver: 'pool.sks-keyservers.net'
state: '{{ openmanage__deploy_state
if ((ansible_distribution == "Debian" and ansible_distribution_major_version is version("8", "<=")) or
(ansible_distribution == "Ubuntu" and ansible_distribution_version is version("14.04", "<=")))
else "absent" }}'
# ]]]
# ]]]
# Installation and Packages [[[
# -----------------------------
# .. envvar:: openmanage__deploy_state [[[
#
# What is the desired state which this role should achieve? Possible options:
#
# ``present``
# Default for DELL hardware. Ensure that openmanage is installed and configured as requested.
#
# ``absent``
# Ensure that openmanage is uninstalled and it's configuration is removed.
#
openmanage__deploy_state: '{{ "present"
if (ansible_system_vendor is search("Dell")
and (ansible_virtualization_role == "host"))
else "absent" }}'
# ]]]
# .. envvar:: openmanage__install_recommends [[[
#
# If recommended packages should be install? Possible options:
#
# ``False``
# Default.
#
# ``True``
#
openmanage__install_recommends: False
# ]]]
# .. envvar:: openmanage__dep_packages [[[
#
# Fix some dependencies to be able to run racadm.
#
openmanage__dep_packages:
- 'libargtable2-0'
- 'libxslt1.1'
# ]]]
# .. envvar:: openmanage__base_packages [[[
#
# List of base packages to install.
#
openmanage__base_packages:
- 'srvadmin-base'
- 'srvadmin-idracadm7'
- 'srvadmin-idracadm8'
- 'srvadmin-idrac-ivmcli'
- 'srvadmin-idrac-vmcli'
- 'srvadmin-omcommon'
- 'srvadmin-server-cli'
- 'srvadmin-server-snmp'
- 'srvadmin-storageservices'
# ]]]
# .. envvar:: openmanage__ssl_packages [[[
#
# List of SSL related packages to install.
#
# Required until Debian Stretch and Ubuntu Xenial
# to fix some dependencies
#
openmanage__ssl_packages:
- 'libssl1.0.0'
# ]]]
# .. 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'
# ]]]
# ]]]
# Web interface [[[
# -----------------------------
# .. envvar:: openmanage__webgui_service_name [[[
#
# Name of the systemd unit to manage web interface
#
openmanage__webgui_service_name: 'dsm_om_connsvc'
# ]]]
# ]]]