pre-flight.yml 915 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. ---
  2. - name: Pre-flight checks only.
  3. hosts: workstation.lab.example.com
  4. gather_subset: min
  5. become: no
  6. tasks:
  7. - include_role:
  8. name: check-env
  9. apply:
  10. tags: check
  11. tags: check
  12. - include_role:
  13. name: fix-operators
  14. apply:
  15. tags: fix
  16. tags: fix
  17. - include_role:
  18. name: remove-operators
  19. apply:
  20. tags: prep
  21. loop: "{{ removed_operators }}"
  22. loop_control:
  23. loop_var: role
  24. tags: prep
  25. - include_role:
  26. name: deploy-operator
  27. apply:
  28. tags: prep
  29. loop: "{{ added_operators }}"
  30. loop_control:
  31. loop_var: role
  32. tags: prep
  33. - include_role:
  34. name: install-labs
  35. apply:
  36. tags: workstation
  37. tags: workstation
  38. - include_role:
  39. name: prep-workspace
  40. apply:
  41. tags: workstation
  42. tags: workstation
  43. ...