main.yml 910 B

123456789101112131415161718192021222324252627282930313233343536373839
  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. when: not (skip_verison | default(False))
  22. - name: Initialization Checkpoint End
  23. hosts: all
  24. gather_facts: false
  25. tasks:
  26. - name: Set install initialization 'Complete'
  27. run_once: true
  28. set_stats:
  29. data:
  30. installer_phase_initialize:
  31. status: "Complete"
  32. end: "{{ lookup('pipe', 'date +%Y%m%d%H%M%SZ') }}"