main.yml 1.8 KB

12345678910111213141516171819202122232425262728
  1. ---
  2. l_openshift_logging_search_dict:
  3. origin: "${component}"
  4. openshift-enterprise: "ose-${component}"
  5. l_openshift_logging_search: "{{ l_openshift_logging_search_dict[openshift_deployment_type] }}"
  6. l_os_logging_non_standard_reg_search_dict:
  7. origin: "origin-${component}"
  8. openshift-enterprise: "ose-${component}"
  9. l_os_logging_non_standard_reg_search: "{{ l_os_logging_non_standard_reg_search_dict[openshift_deployment_type] }}"
  10. l_os_logging_proxy_image_version_dict:
  11. origin: 'v1.1.0'
  12. openshift-enterprise: "{{ openshift_image_tag }}"
  13. l_os_logging_proxy_image_version: "{{ l_os_logging_proxy_image_version_dict[openshift_deployment_type] }}"
  14. # We need to regex_replace ${version} with either v1.0.0 or openshift_image_tag
  15. l_os_logging_proxy_image: "{{ l_os_non_standard_reg_url | regex_replace('${version}' | regex_escape, l_os_logging_proxy_image_version) }}"
  16. # We need to regex_replace the origin-${component} with 'oauth-proxy'
  17. l2_os_logging_proxy_image: "{{ l_os_logging_proxy_image | regex_replace(l_os_logging_non_standard_reg_search | regex_escape, 'oauth-proxy') }}"
  18. openshift_logging_curator_image: "{{ l_os_registry_url | regex_replace(l_openshift_logging_search | regex_escape, 'logging-curator5') }}"
  19. openshift_logging_elasticsearch_image: "{{ l_os_registry_url | regex_replace(l_openshift_logging_search | regex_escape, 'logging-elasticsearch5') }}"
  20. openshift_logging_elasticsearch_proxy_image: "{{ l2_os_logging_proxy_image }}"
  21. openshift_logging_fluentd_image: "{{ l_os_registry_url | regex_replace(l_openshift_logging_search | regex_escape, 'logging-fluentd') }}"
  22. openshift_logging_kibana_image: "{{ l_os_registry_url | regex_replace(l_openshift_logging_search | regex_escape, 'logging-kibana5') }}"
  23. openshift_logging_kibana_proxy_image: "{{ l2_os_logging_proxy_image }}"
  24. openshift_logging_mux_image: "{{ openshift_logging_fluentd_image }}"