inventory.yml 2.1 KB

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