inventory.yml 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  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. clients:
  20. - id: openshift
  21. name: OpenShift OIDC Client
  22. secret: verysecret
  23. base_url: https://oauth-openshift.apps.ocp4.example.com
  24. users:
  25. - username: johndoe
  26. password: redhat
  27. firstname: John
  28. lastname: Doe
  29. - username: janedoe
  30. password: redhat
  31. firstname: Jane
  32. lastname: Doe
  33. - username: tomjones
  34. password: redhat
  35. firstname: Tom
  36. lastname: Jones
  37. - username: jsmith
  38. password: redhat
  39. firstname: James
  40. lastname: Smith
  41. # Operators that need to be (re)installed.
  42. #
  43. # The first item in the list is also used for checking whether catalog(s)
  44. # were recreated successfully.
  45. added_operators:
  46. - catalog: redhat-operators
  47. package: metallb-operator
  48. channel: stable
  49. namespace: metallb-system
  50. desired_csv: metallb-operator.v4.16.0-202507221936
  51. og_namespaces: []
  52. approval: Manual
  53. - catalog: redhat-operators
  54. package: rhbk-operator
  55. channel: stable-v26.2
  56. namespace: keycloak
  57. desired_csv: rhbk-operator.v26.2.7-opr.1
  58. og_namespaces:
  59. - keycloak
  60. approval: Manual
  61. # Some cleanup here.
  62. removed_operators:
  63. - sub_nspc: openshift-cnv
  64. sub_name: kubevirt-hyperconverged
  65. csv_kill: yes
  66. csv_name: kubevirt-hyperconverged-operator.v4.16.1
  67. nsp_kill: yes
  68. pre_cleanup:
  69. - kind: hyperconverged
  70. apiv: hco.kubevirt.io/v1beta1
  71. nspc: openshift-cnv
  72. wait_for_gone: yes
  73. wait_for_sec: 600
  74. add_cleanup:
  75. - name: aaqs.aaq.kubevirt.io
  76. - name: cdis.cdi.kubevirt.io
  77. - label: operators.coreos.com/kubevirt-hyperconverged.openshift-cnv
  78. # The list of OpenShift clusters check-env will try to connect to.
  79. clusters:
  80. - ocp4
  81. ...