inventory.yml 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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 and RHSSO versions.
  13. ocp_maj: "4.10"
  14. ocp_z: "4.10.3"
  15. sso_z: "7.6.0"
  16. # These are the tools we need, some also need to be downloaded.
  17. tools:
  18. oc:
  19. final_name: /usr/bin/oc
  20. completion: yes
  21. completion_file: oc
  22. # Not really needed for class delivery, just for image prep.
  23. # opm:
  24. # download: yes
  25. # download_filename: opm-linux-{{ ocp_z }}.tar.gz
  26. # archive_filename: opm
  27. # final_name: /usr/local/bin/opm
  28. # completion: yes
  29. # completion_file: opm
  30. # grpcurl:
  31. # download: yes
  32. # download_url: https://github.com/fullstorydev/grpcurl/releases/download/v1.8.7
  33. # download_filename: grpcurl_1.8.7_linux_x86_64.tar.gz
  34. # archive_filename: grpcurl
  35. # final_name: /usr/local/bin/grpcurl
  36. # completion: no
  37. # The list of OpenShift clusters check-env will try to connect to.
  38. clusters:
  39. - ocp4
  40. # Whether we will use a standalone RHSSO ZIP or not (only used in check-env).
  41. need_sso_zip: yes
  42. ...