blob: d7b18df3af6bad9cfba71f1ffa7833e92bc5b521 (
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
|
---
# Misc enumerated values
#---------------------------------------------------------------------
# Allowed choices for the storage class parameter
__openshift_management_storage_classes:
- nfs
- nfs_external
- preconfigured
- cloudprovider
#---------------------------------------------------------------------
# DEFAULT PV SIZES
# How large to make the MIQ application PV
__openshift_management_app_pv_size: 5Gi
# How large to make the MIQ PostgreSQL PV
__openshift_management_db_pv_size: 15Gi
# Name of the application templates with object/parameter definitions
__openshift_management_app_templates:
- miq-template-ext-db
- miq-template
- cfme-template-ext-db
- cfme-template
# PostgreSQL database connection parameters
__openshift_management_db_parameters:
- DATABASE_USER
- DATABASE_PASSWORD
- DATABASE_IP
- DATABASE_PORT
- DATABASE_NAME
__openshift_management_flavors:
miq:
short: miq
long: manageiq
cfme:
short: cfme
long: cloudforms
__openshift_management_flavor: "{{ __openshift_management_flavors[openshift_management_app_template.split('-')[0]]['long'] }}"
__openshift_management_flavor_short: "{{ __openshift_management_flavors[openshift_management_app_template.split('-')[0]]['short'] }}"
__openshift_management_use_ext_db: "{{ true if 'ext-db' in openshift_management_app_template else false }}"
######################################################################
# ACCOUNTING
######################################################################
# Service Account SSCs
__openshift_system_account_sccs:
- name: -anyuid
resource_name: anyuid
- name: -orchestrator
resource_name: anyuid
- name: -privileged
resource_name: privileged
- name: -httpd
resource_name: anyuid
# Service Account Roles
__openshift_management_system_account_roles:
- name: -orchestrator
resource_name: view
- name: -orchestrator
resource_name: edit
######################################################################
# DEFAULTS
######################################################################
# User only has to provide parameters they need to override, we will
# do a hash update method with the provided user parameters to create
# the final connection structure.
#
# TODO: Update user provided configs with this if they are missing fields
__openshift_management_required_db_conn_params:
- DATABASE_USER
- DATABASE_PASSWORD
- DATABASE_IP
- DATABASE_PORT
- DATABASE_NAME
|