prepull_check.yml 537 B

12345678910111213141516171819202122
  1. ---
  2. - name: Check status of node image pre-pull
  3. async_status:
  4. jid: "{{ image_prepull.ansible_job_id }}"
  5. register: job_result
  6. until: job_result.finished
  7. when:
  8. - node_image.stdout_lines == []
  9. - not openshift_is_atomic | bool
  10. retries: 20
  11. delay: 30
  12. failed_when: false
  13. - name: Check status of node pod image pre-pull
  14. async_status:
  15. jid: "{{ pod_image_prepull.ansible_job_id }}"
  16. register: job_result
  17. until: job_result.finished
  18. when: pod_image.stdout_lines == []
  19. retries: 20
  20. delay: 30
  21. failed_when: false