main.yml 904 B

12345678910111213141516171819
  1. ---
  2. l_os_cockpit_image_version_dict:
  3. origin: 'latest'
  4. openshift-enterprise: "{{ openshift_image_tag }}"
  5. l_os_cockpit_image_version: "{{ l_os_cockpit_image_version_dict[openshift_deployment_type] }}"
  6. l_os_cockpit_image_format: "{{ l_os_non_standard_reg_url | regex_replace('${version}' | regex_escape, l_os_cockpit_image_version) }}"
  7. l_openshift_cockit_search_dict:
  8. origin: "openshift/${component}"
  9. openshift-enterprise: "ose-${component}"
  10. l_openshift_cockit_search: "{{ l_openshift_cockit_search_dict[openshift_deployment_type] }}"
  11. l_openshift_cockpit_replace_dict:
  12. origin: "cockpit/kubernetes"
  13. openshift-enterprise: "registry-console"
  14. l_openshift_cockpit_replace: "{{ l_openshift_cockpit_replace_dict[openshift_deployment_type] }}"
  15. openshift_cockpit_deployer_image: "{{ l_os_cockpit_image_format | regex_replace(l_openshift_cockit_search | regex_escape, l_openshift_cockpit_replace) }}"