summaryrefslogtreecommitdiffstats
path: root/roles/openshift_cfme/defaults/main.yml
blob: 393bee1f39f5cf6364a56e86fd3bda367b12315b (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
---
# Namespace for the CFME project (Note: changed post-3.6 to use
# reserved 'openshift-' namespace prefix)
openshift_cfme_project: openshift-cfme
# Namespace/project description
openshift_cfme_project_description: ManageIQ - CloudForms Management Engine
# Basic user assigned the `admin` role for the project
openshift_cfme_user: cfme
# Project system account for enabling privileged pods
openshift_cfme_service_account: "system:serviceaccount:{{ openshift_cfme_project }}:default"
# All the required exports
openshift_cfme_pv_exports:
  - miq-pv01
  - miq-pv02
  - miq-pv03
# PV template files and their created object names
openshift_cfme_pv_data:
  - pv_name: miq-pv01
    pv_template: miq-pv-db.yaml
    pv_label: CFME DB PV
  - pv_name: miq-pv02
    pv_template: miq-pv-region.yaml
    pv_label: CFME Region PV
  - pv_name: miq-pv03
    pv_template: miq-pv-server.yaml
    pv_label: CFME Server PV

# Tuning parameter to use more than 5 images at once from an ImageStream
openshift_cfme_maxImagesBulkImportedPerRepository: 100
# Hostname/IP of the NFS server. Currently defaults to first master
openshift_cfme_nfs_server: "{{ groups.nfs.0 }}"
# TODO: Refactor '_install_app' variable. This is just for testing but
# maybe in the future it should control the entire yes/no for CFME.
#
# Whether or not the manageiq 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/cloudforms45/cfme-openshift-app' if openshift_deployment_type == 'openshift-enterprise' else 'docker.io/manageiq/manageiq-pods' }}"
openshift_cfme_postgresql_img_name: "{{ 'registry.access.redhat.com/cloudforms45/cfme-openshift-postgresql' if openshift_deployment_type == 'openshift-enterprise' else 'docker.io/manageiq/manageiq-pods' }}"
openshift_cfme_memcached_img_name: "{{ 'registry.access.redhat.com/cloudforms45/cfme-openshift-memcached' 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 'app-latest-fine' }}"
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' }}"