pre-flight.yml 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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. # FIXME if an installplan has multiple owners?
  26. - include_role:
  27. name: deploy-operators
  28. apply:
  29. tags: prep
  30. loop: "{{ added_operators }}"
  31. loop_control:
  32. loop_var: role
  33. tags: prep
  34. - include_role:
  35. name: install-labs
  36. apply:
  37. tags: workstation
  38. tags: workstation
  39. - include_role:
  40. name: prep-workspace
  41. apply:
  42. tags: workstation
  43. tags: workstation
  44. - include_role:
  45. name: setup-for-ad482
  46. apply:
  47. tags:
  48. - workstation
  49. - ad482
  50. tags:
  51. - workstation
  52. - ad482
  53. - include_role:
  54. name: setup-for-sakbf
  55. apply:
  56. tags:
  57. - workstation
  58. - sakbf
  59. - never
  60. tags:
  61. - workstation
  62. - sakbf
  63. - never
  64. ...