inventory.yml 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. ---
  2. # A simplistic inventory for the classroom VMs.
  3. all:
  4. hosts:
  5. workstation.lab.example.com:
  6. ansible_connection: local
  7. utility.lab.example.com:
  8. ansible_user: lab
  9. bastion.lab.example.com:
  10. ansible_user: root
  11. vars:
  12. # OpenShift versions.
  13. ocp_maj: "4.10"
  14. ocp_z: "4.10.3"
  15. # Various RHSSO versions.
  16. sso_z: "7.6.0"
  17. sso_p: "7.6.1"
  18. sso_f: "4361"
  19. # These are the tools we need, some also need to be downloaded.
  20. tools:
  21. oc:
  22. final_name: /usr/bin/oc
  23. completion: yes
  24. completion_file: oc
  25. # Not really needed for class delivery, just for image prep.
  26. # opm:
  27. # download: yes
  28. # download_filename: opm-linux-{{ ocp_z }}.tar.gz
  29. # archive_filename: opm
  30. # final_name: /usr/local/bin/opm
  31. # completion: yes
  32. # completion_file: opm
  33. # grpcurl:
  34. # download: yes
  35. # download_url: https://github.com/fullstorydev/grpcurl/releases/download/v1.8.7
  36. # download_filename: grpcurl_1.8.7_linux_x86_64.tar.gz
  37. # archive_filename: grpcurl
  38. # final_name: /usr/local/bin/grpcurl
  39. # completion: no
  40. # The list of OpenShift clusters check-env will try to connect to.
  41. clusters:
  42. - ocp4
  43. # Whether we will use a standalone RHSSO ZIP or not (only used in check-env).
  44. need_sso_zip: yes
  45. need_sso_patch: yes
  46. need_sso_hotfix: yes
  47. ...