inventory.yml 2.6 KB

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