main.yml 688 B

123456789101112131415
  1. ---
  2. r_enable_docker_gc: "{{ openshift_crio_enable_docker_gc }}"
  3. r_docker_gc_node_selectors: "{{ openshift_crio_docker_gc_node_selector | default({'runtime': 'cri-o'}) }}"
  4. openshift_docker_gc_image_dict:
  5. origin: "origin"
  6. openshift-enterprise: "ose-control-plane"
  7. l_os_dockergc_reg_search_dict:
  8. origin: "origin-${component}"
  9. openshift-enterprise: "ose-${component}"
  10. l_os_dockergc_reg_search: "{{ l_os_dockergc_reg_search_dict[openshift_deployment_type] }}"
  11. l_os_dockergc_replace: "{{ openshift_docker_gc_image_dict[openshift_deployment_type] }}"
  12. openshift_docker_gc_image: "{{ l_os_registry_url | regex_replace(l_os_dockergc_reg_search | regex_escape, l_os_dockergc_replace) }}"