upgrade.yml 646 B

123456789101112131415161718192021
  1. ---
  2. # This play is called during upgrade_control_plane via post_control_plane.yml
  3. - name: Upgrade default router and default registry
  4. hosts: oo_first_master
  5. roles:
  6. - lib_utils
  7. - openshift_facts
  8. tasks:
  9. - import_role:
  10. name: openshift_hosted
  11. tasks_from: upgrade_routers.yml
  12. when: openshift_hosted_manage_router | default(True) | bool
  13. - import_role:
  14. name: openshift_hosted
  15. tasks_from: upgrade_registry.yml
  16. when: openshift_hosted_manage_registry | default(True) | bool
  17. - import_role:
  18. name: openshift_docker_gc
  19. when:
  20. - openshift_use_crio | bool
  21. - openshift_crio_enable_docker_gc | bool