main.yml 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. ---
  2. # Namespace for the CFME project
  3. openshift_management_project: openshift-management
  4. # Namespace/project description
  5. openshift_management_project_description: CloudForms Management Engine
  6. # Number of retries when waiting for the app to start (retried every 30 seconds)
  7. openshift_management_pod_rollout_retries: 30
  8. # Node selector for project:
  9. openshift_management_nodeselector: "{{ openshift_hosted_infra_selector | default('node-role.kubernetes.io/infra=true') | map_from_pairs }}"
  10. ######################################################################
  11. # BASE TEMPLATE AND DATABASE OPTIONS
  12. ######################################################################
  13. # Which flavor of CFME would you like? You may install CFME using a
  14. # podified PostgreSQL server, or you may choose to use an existing
  15. # PostgreSQL server.
  16. #
  17. # Choose 'miq-template' for a podified database install
  18. # Choose 'miq-template-ext-db' for an external database install
  19. openshift_management_app_template: "{{ 'cfme-template' if openshift_deployment_type == 'openshift-enterprise' else 'miq-template' }}"
  20. # If you are using the miq-template-ext-db template then you must add
  21. # the required database parameters to the
  22. # openshift_management_template_parameters variable.
  23. ######################################################################
  24. # STORAGE OPTIONS
  25. ######################################################################
  26. # DEFAULT - 'nfs'
  27. # Allowed options: nfs, nfs_external, preconfigured, cloudprovider.
  28. openshift_management_storage_class: nfs
  29. # * nfs - Best used for proof-of-concept installs. Will setup NFS on a
  30. # cluster host (defaults to your first master in the inventory file)
  31. # to back the required PVCs. The application requires a PVC and the
  32. # database (which may be hosted externally) may require a
  33. # second. PVC minimum required sizes are: 5GiB for the MIQ
  34. # application, and 15GiB for the PostgreSQL database (20GiB minimum
  35. # available space on an volume/partition if used specifically for
  36. # NFS purposes)
  37. #
  38. # * nfs_external - You are using an external NFS server, such as a
  39. # netapp appliance. See the STORAGE - NFS OPTIONS section below for
  40. # required information.
  41. #
  42. # * preconfigured - This CFME role will do NOTHING to modify storage
  43. # settings. This option assumes expert knowledge and that you have
  44. # done everything required ahead of time.
  45. #
  46. # * cloudprovider - You are using an OCP cloudprovider integration for
  47. # your storage class. For this to work you must have already
  48. # configured the required inventory parameters for your cloud
  49. # provider
  50. #
  51. # Ensure 'openshift_cloudprovider_kind' is defined (aws, azure or gce)
  52. # and that the applicable cloudprovider parameters are provided.
  53. #---------------------------------------------------------------------
  54. # STORAGE - NFS OPTIONS
  55. #---------------------------------------------------------------------
  56. # [OPTIONAL] - If you are using an EXTERNAL NFS server, such as a
  57. # netapp appliance, then you must set the hostname here. Leave the
  58. # value as 'false' if you are not using external NFS.
  59. openshift_management_storage_nfs_external_hostname: false
  60. # [OPTIONAL] - If you are using external NFS then you must set the base
  61. # path to the exports location here.
  62. #
  63. # Additionally: EXTERNAL NFS REQUIRES that YOU CREATE the nfs exports
  64. # that will back the application PV and optionally the database
  65. # pv. Export path definitions, relative to
  66. # {{ openshift_management_storage_nfs_base_dir }}
  67. #
  68. # LOCAL NFS NOTE:
  69. #
  70. # You may may also change this value if you want to change the default
  71. # path used for local NFS exports.
  72. openshift_management_storage_nfs_base_dir: /exports
  73. #
  74. # LOCAL NFS NOTE:
  75. #
  76. # You may override the automatically selected LOCAL NFS server by
  77. # setting this variable. Useful for testing specific task files.
  78. openshift_management_storage_nfs_local_hostname: false
  79. ######################################################################
  80. # DEFAULT ACCOUNT INFORMATION
  81. ######################################################################
  82. # These are the default values for the username and password of the
  83. # management app. Changing these values in your inventory will not
  84. # change your username or password. You should only need to change
  85. # these values in your inventory if you already changed the actual
  86. # name and password AND are trying to use integration scripts.
  87. #
  88. # For example, adding this cluster as a container provider,
  89. # playbooks/openshift-management/add_container_provider.yml
  90. openshift_management_username: admin
  91. openshift_management_password: smartvm
  92. ######################################################################
  93. # SCAFFOLDING - These are parameters we pre-seed that a user may or
  94. # may not set later
  95. ######################################################################
  96. # A hash of parameters you want to override or set in the
  97. # miq-template.yaml or miq-template-ext-db.yaml templates. Set this in
  98. # your inventory file as a simple hash. Acceptable values are defined
  99. # under the .parameters list in files/miq-template{-ext-db}.yaml
  100. # Example:
  101. #
  102. # openshift_management_template_parameters={'APPLICATION_MEM_REQ': '512Mi'}
  103. openshift_management_template_parameters: {}