validator.yml 848 B

1234567891011121314151617181920212223
  1. ---
  2. ###############################################################################
  3. # Pre upgrade checks for known data problems, if this playbook fails you should
  4. # contact support. If you're not supported contact users@lists.openshift.com
  5. ###############################################################################
  6. - name: Verify 3.7 specific upgrade checks
  7. hosts: oo_first_master
  8. roles:
  9. - { role: lib_openshift }
  10. tasks:
  11. - name: Check for invalid namespaces and SDN errors
  12. oc_objectvalidator:
  13. - name: Confirm OpenShift authorization objects are in sync
  14. command: >
  15. {{ openshift.common.client_binary }} adm migrate authorization
  16. when: openshift_currently_installed_version | version_compare('3.7','<')
  17. changed_when: false
  18. register: l_oc_result
  19. until: l_oc_result.rc == 0
  20. retries: 4
  21. delay: 15