inventory.yml 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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_host: 172.25.250.254
  11. ansible_user: root
  12. vars:
  13. # OpenShift versions.
  14. ocp_maj: "4.16"
  15. ocp_z: "4.16.2"
  16. # Operators that need to be (re)installed.
  17. #
  18. # The first item in the list is also used for checking whether catalog(s)
  19. # were recreated successfully.
  20. added_operators:
  21. - catalog: redhat-operators
  22. package: metallb-operator
  23. channel: stable
  24. namespace: metallb-system
  25. desired_csv: metallb-operator.v4.16.0-202507221936
  26. og_namespaces: []
  27. approval: Manual
  28. - catalog: redhat-operators
  29. package: rhbk-operator
  30. channel: stable-v26.2
  31. namespace: keycloak
  32. desired_csv: rhbk-operator.v26.2.7-opr.1
  33. og_namespaces:
  34. - keycloak
  35. approval: Manual
  36. # Some cleanup here.
  37. removed_operators:
  38. - sub_nspc: openshift-cnv
  39. sub_name: kubevirt-hyperconverged
  40. csv_kill: yes
  41. csv_name: kubevirt-hyperconverged-operator.v4.16.1
  42. nsp_kill: yes
  43. pre_cleanup:
  44. - kind: hyperconverged
  45. apiv: hco.kubevirt.io/v1beta1
  46. nspc: openshift-cnv
  47. wait_for_gone: yes
  48. wait_for_sec: 600
  49. add_cleanup:
  50. - name: aaqs.aaq.kubevirt.io
  51. - name: cdis.cdi.kubevirt.io
  52. - label: operators.coreos.com/kubevirt-hyperconverged.openshift-cnv
  53. # The list of OpenShift clusters check-env will try to connect to.
  54. clusters:
  55. - ocp4
  56. ...