ansible.openmanage/defaults/main.yml

78 lines
2.9 KiB
YAML
Raw Normal View History

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:
# 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'
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 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'
filename: 'dell.openmanage'
key_id: '1285491434D8786F'
key_keyserver: 'pool.sks-keyservers.net'
state: '{{ openmanage__deploy_state
if (ansible_distribution_release not in ["stretch", "xenial"])
else "absent" }}'
# ]]]
# ]]]
# 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"
if (ansible_system_vendor is search("Dell"))
else "absent" }}'
2018-11-23 15:19:21 +01:00
# ]]]
# .. envvar:: openmanage__install_recommends [[[
#
# If recommended packages should be install? Possible options:
#
# ``False``
# Default.
#
# ``True``
#
openmanage__install_recommends: False
# ]]]
# .. envvar:: openmanage__base_packages [[[
#
# List of base packages to install.
#
openmanage__base_packages:
- 'srvadmin-base'
- 'srvadmin-idracadm7'
- 'srvadmin-idrac-ivmcli'
- 'srvadmin-idrac-vmcli'
- 'srvadmin-omcommon'
- 'srvadmin-server-cli'
- 'srvadmin-server-snmp'
- 'srvadmin-storageservices'
# ]]]
2018-11-23 15:19:21 +01:00
# ]]]