main.yml 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. ---
  2. # Namespace for the CFME project (Note: changed post-3.6 to use
  3. # reserved 'openshift-' namespace prefix)
  4. openshift_cfme_project: openshift-cfme
  5. # Namespace/project description
  6. openshift_cfme_project_description: ManageIQ - CloudForms Management Engine
  7. # Basic user assigned the `admin` role for the project
  8. openshift_cfme_user: cfme
  9. # Project system account for enabling privileged pods
  10. openshift_cfme_service_account: "system:serviceaccount:{{ openshift_cfme_project }}:default"
  11. # All the required exports
  12. openshift_cfme_pv_exports:
  13. - miq-pv01
  14. - miq-pv02
  15. - miq-pv03
  16. # PV template files and their created object names
  17. openshift_cfme_pv_data:
  18. - pv_name: miq-pv01
  19. pv_template: miq-pv-db.yaml
  20. pv_label: CFME DB PV
  21. - pv_name: miq-pv02
  22. pv_template: miq-pv-region.yaml
  23. pv_label: CFME Region PV
  24. - pv_name: miq-pv03
  25. pv_template: miq-pv-server.yaml
  26. pv_label: CFME Server PV
  27. # Tuning parameter to use more than 5 images at once from an ImageStream
  28. openshift_cfme_maxImagesBulkImportedPerRepository: 100
  29. # Hostname/IP of the NFS server. Currently defaults to first master
  30. openshift_cfme_nfs_server: "{{ groups.nfs.0 }}"
  31. openshift_cfme_nfs_directory: "/exports"
  32. # TODO: Refactor '_install_app' variable. This is just for testing but
  33. # maybe in the future it should control the entire yes/no for CFME.
  34. #
  35. # Whether or not the manageiq app should be initialized ('oc new-app
  36. # --template=manageiq). If False everything UP TO 'new-app' is ran.
  37. openshift_cfme_install_app: False
  38. # Docker image to pull
  39. 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' }}"
  40. 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' }}"
  41. 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' }}"
  42. openshift_cfme_application_img_tag: "{{ 'latest' if openshift_deployment_type == 'openshift-enterprise' else 'app-latest-fine' }}"
  43. openshift_cfme_memcached_img_tag: "{{ 'latest' if openshift_deployment_type == 'openshift-enterprise' else 'memcached-latest-fine' }}"
  44. openshift_cfme_postgresql_img_tag: "{{ 'latest' if openshift_deployment_type == 'openshift-enterprise' else 'postgresql-latest-fine' }}"