main.yml 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. ---
  2. # l_install_base_packages is passed in via prerequistes.yml.
  3. # skip_sanity_checks is passed in via openshift-node/private/image_prep.yml
  4. - name: Initialization Checkpoint Start
  5. hosts: all
  6. gather_facts: false
  7. roles:
  8. - installer_checkpoint
  9. tasks:
  10. - name: Set install initialization 'In Progress'
  11. run_once: true
  12. set_stats:
  13. data:
  14. installer_phase_initialize:
  15. status: "In Progress"
  16. start: "{{ lookup('pipe', 'date +%Y%m%d%H%M%SZ') }}"
  17. - import_playbook: evaluate_groups.yml
  18. - import_playbook: basic_facts.yml
  19. # base_packages needs to be setup for openshift_facts.py to run correctly.
  20. - import_playbook: base_packages.yml
  21. when: l_install_base_packages | default(False) | bool
  22. - import_playbook: cluster_facts.yml
  23. - import_playbook: version.yml
  24. - import_playbook: sanity_checks.yml
  25. when: not (skip_sanity_checks | default(False))
  26. - name: Initialization Checkpoint End
  27. hosts: all
  28. gather_facts: false
  29. tasks:
  30. - name: Set install initialization 'Complete'
  31. run_once: true
  32. set_stats:
  33. data:
  34. installer_phase_initialize:
  35. status: "Complete"
  36. end: "{{ lookup('pipe', 'date +%Y%m%d%H%M%SZ') }}"