main.yml 1015 B

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