summaryrefslogtreecommitdiffstats
path: root/roles/openshift_cfme/defaults/main.yml
blob: b833bbb45f4dda98871a8b97355c15feebdfdc8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
---
# Namespace for the CFME project
openshift_cfme_project: openshift-cfme
# Namespace/project description
openshift_cfme_project_description: CloudForms Management Engine

######################################################################
# BASE TEMPLATE AND DATABASE OPTIONS
######################################################################
# Which flavor of CFME would you like? You may install CFME using a
# podified PostgreSQL server, or you may choose to use an existing
# PostgreSQL server.
#
# Choose 'miq-template' for a podified database install
# Choose 'miq-template-ext-db' for an external database install
openshift_cfme_app_template: miq-template

# If you are using the miq-template-ext-db template then you must add
# the required database parameters to the
# openshift_cfme_template_parameters variable. You only need to
# provide parameters that differ from the ones in the following
# example. Any omitted parameter by the user will be default to its
# default below:
#
# openshift_cfme_template_parameters:
#   DATABASE_USER: 'root'
#   DATABASE_PASSWORD: ''
#   DATABASE_IP: ''
#   DATABASE_PORT: 5432
#   DATABASE_NAME: 'vmdb_production'
#
# See also var: __openshift_cfme_default_db_connection_info

######################################################################
# STORAGE OPTIONS
######################################################################
# DEFAULT - 'nfs'
# Allowed options: nfs, nfs_external, preconfigured, cloudprovider.
openshift_cfme_storage_class: nfs
# * nfs - Best used for proof-of-concept installs. Will setup NFS on a
#   cluster host (defaults to your first master in the inventory file)
#   to back the required PVCs. The application requires a PVC and the
#   database (which may be hosted externally) may require a
#   second. PVC minimum required sizes are: 5GiB for the MIQ
#   application, and 15GiB for the PostgreSQL database (20GiB minimum
#   available space on an volume/partition if used specifically for
#   NFS purposes)
#
# * nfs_external - You are using an external NFS server, such as a
#   netapp appliance. See the STORAGE - NFS OPTIONS section below for
#   required information.
#
# * preconfigured - This CFME role will do NOTHING to modify storage
#   settings. This option assumes expert knowledge and that you have
#   done everything required ahead of time.
#
# * cloudprovider - You are using an OCP cloudprovider integration for
#   your storage class. For this to work you must have already
#   configured the required inventory parameters for your cloud
#   provider
#
#   Ensure 'openshift_cloudprovider_kind' is defined (aws or gce) and
#   that the applicable cloudprovider parameters are provided.

#---------------------------------------------------------------------
# STORAGE - NFS OPTIONS
#---------------------------------------------------------------------
# [OPTIONAL] - If you are using an EXTERNAL NFS server, such as a
# netapp appliance, then you must set the hostname here. Leave the
# value as 'false' if you are not using external NFS.
openshift_cfme_storage_nfs_external_hostname: false
# [OPTIONAL] - If you are using external NFS then you must set the base
# path to the exports location here.
#
# Additionally: EXTERNAL NFS REQUIRES that YOU CREATE the nfs exports
# that will back the application PV and optionally the database
# pv. Export path definitions, relative to
# {{ openshift_cfme_storage_nfs_base_dir }}
#
# * REQUIRED[ALWAYS]: /miq-app - MIQ Server PV.
#
# * REQUIRED[NFS_EXTERNAL]: /miq-db - Podified DB PB
#
# LOCAL NFS NOTE:
#
# You may may also change this value if you want to change the default
# path used for local NFS exports.
openshift_cfme_storage_nfs_base_dir: /exports
#
# LOCAL NFS NOTE:
#
# You may override the automatically selected LOCAL NFS server by
# setting this variable. Useful for testing specific task files.
openshift_cfme_storage_nfs_local_hostname: false

#---------------------------------------------------------------------
# DEFAULT PV SIZES
# How large to make the MIQ application PV
openshift_cfme_app_pv_size: 5Gi
# How large to make the MIQ PostgreSQL PV
openshift_cfme_db_pv_size: 15Gi

######################################################################
# SCAFFOLDING - These are parameters we pre-seed that a user may or
# may not set later
######################################################################
# A hash of parameters you want to override or set in the
# miq-template.yaml or miq-template-ext-db.yaml templates. Set this in
# your inventory file as a simple hash. Acceptable values are defined
# under the .parameters list in files/miq-template{-ext-db}.yaml
# Example:
#
# openshift_cfme_template_parameters={'APPLICATION_MEM_REQ': '512Mi'}
openshift_cfme_template_parameters: {}

######################################################################
# Whether or not the cfme app should be initialized ('oc new-app
# --template=manageiq). If False everything UP TO 'new-app' is ran.
openshift_cfme_install_app: false

# Docker image to pull
# openshift_cfme_application_img_name: "{{ 'registry.access.redhat.com/cloudforms46/cfme-openshift-app' if openshift_deployment_type == 'openshift-enterprise' else 'docker.io/manageiq/manageiq-pods' }}"
# openshift_cfme_application_img_tag: "{{ 'latest' if openshift_deployment_type == 'openshift-enterprise' else 'frontend-latest' }}"

# openshift_cfme_memcached_img_name: "{{ 'registry.access.redhat.com/cloudforms46/cfme-openshift-memcached' if openshift_deployment_type == 'openshift-enterprise' else 'docker.io/manageiq/manageiq-pods' }}"
# openshift_cfme_memcached_img_tag: "{{ 'latest' if openshift_deployment_type == 'openshift-enterprise' else 'memcached-latest-fine' }}"

# openshift_cfme_postgresql_img_tag: "{{ 'latest' if openshift_deployment_type == 'openshift-enterprise' else 'postgresql-latest-fine' }}"
# openshift_cfme_postgresql_img_name: "{{ 'registry.access.redhat.com/cloudforms46/cfme-openshift-postgresql' if openshift_deployment_type == 'openshift-enterprise' else 'docker.io/manageiq/manageiq-pods' }}"