storage_upgrade.yml 679 B

123456789101112131415161718
  1. ---
  2. ###############################################################################
  3. # Post upgrade - Upgrade job storage
  4. ###############################################################################
  5. - name: Upgrade job storage
  6. hosts: oo_first_master
  7. roles:
  8. - { role: openshift_cli }
  9. vars:
  10. # Another spot where we assume docker is running and do not want to accidentally trigger an unsafe
  11. # restart.
  12. skip_docker_role: True
  13. tasks:
  14. - name: Upgrade job storage
  15. command: >
  16. {{ openshift.common.client_binary }} adm --config={{ openshift.common.config_base }}/master/admin.kubeconfig
  17. migrate storage --include=jobs --confirm
  18. run_once: true