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