main.yml 887 B

123456789101112131415161718192021222324252627282930313233343536
  1. ---
  2. - name: Initialization Checkpoint Start
  3. hosts: all
  4. gather_facts: false
  5. roles:
  6. - installer_checkpoint
  7. tasks:
  8. - name: Set install initialization 'In Progress'
  9. run_once: true
  10. set_stats:
  11. data:
  12. installer_phase_initialize:
  13. status: "In Progress"
  14. start: "{{ lookup('pipe', 'date +%Y%m%d%H%M%SZ') }}"
  15. - import_playbook: evaluate_groups.yml
  16. - import_playbook: facts.yml
  17. - import_playbook: sanity_checks.yml
  18. when: not (skip_sanity_checks | default(False))
  19. - import_playbook: version.yml
  20. when: not (skip_verison | default(False))
  21. - name: Initialization Checkpoint End
  22. hosts: all
  23. gather_facts: false
  24. tasks:
  25. - name: Set install initialization 'Complete'
  26. run_once: true
  27. set_stats:
  28. data:
  29. installer_phase_initialize:
  30. status: "Complete"
  31. end: "{{ lookup('pipe', 'date +%Y%m%d%H%M%SZ') }}"