inventory.yml 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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. rhbk:
  17. namespace: keycloak
  18. realm: ichp
  19. users:
  20. - username: johndoe
  21. password: redhat
  22. fullname: John Doe
  23. - username: janedoe
  24. password: redhat
  25. fullname: Jane Doe
  26. # Operators that need to be (re)installed.
  27. #
  28. # The first item in the list is also used for checking whether catalog(s)
  29. # were recreated successfully.
  30. added_operators:
  31. - catalog: redhat-operators
  32. package: metallb-operator
  33. channel: stable
  34. namespace: metallb-system
  35. desired_csv: metallb-operator.v4.16.0-202507221936
  36. og_namespaces: []
  37. approval: Manual
  38. - catalog: redhat-operators
  39. package: rhbk-operator
  40. channel: stable-v26.2
  41. namespace: keycloak
  42. desired_csv: rhbk-operator.v26.2.7-opr.1
  43. og_namespaces:
  44. - keycloak
  45. approval: Manual
  46. # Some cleanup here.
  47. removed_operators:
  48. - sub_nspc: openshift-cnv
  49. sub_name: kubevirt-hyperconverged
  50. csv_kill: yes
  51. csv_name: kubevirt-hyperconverged-operator.v4.16.1
  52. nsp_kill: yes
  53. pre_cleanup:
  54. - kind: hyperconverged
  55. apiv: hco.kubevirt.io/v1beta1
  56. nspc: openshift-cnv
  57. wait_for_gone: yes
  58. wait_for_sec: 600
  59. add_cleanup:
  60. - name: aaqs.aaq.kubevirt.io
  61. - name: cdis.cdi.kubevirt.io
  62. - label: operators.coreos.com/kubevirt-hyperconverged.openshift-cnv
  63. # The list of OpenShift clusters check-env will try to connect to.
  64. clusters:
  65. - ocp4
  66. ...