main.yml 866 B

1234567891011121314151617181920212223242526272829303132333435363738
  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. - import_playbook: validate_hostnames.yml
  19. - import_playbook: repos.yml
  20. - import_playbook: version.yml
  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') }}"