inventory.yml 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  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. openshift:
  17. rhbk_client_id: openshift
  18. create_groups: yes
  19. egress_range: 192.168.50.128/26
  20. rhbk:
  21. namespace: keycloak
  22. realm: ichp
  23. clients:
  24. - id: openshift
  25. name: OpenShift OIDC Client
  26. secret: verysecret
  27. base_url: https://oauth-openshift.apps.ocp4.example.com
  28. direct_grants: false
  29. groups:
  30. - admins
  31. - developers
  32. - viewers
  33. - debuggers
  34. users:
  35. - username: johndoe
  36. password: redhat
  37. firstname: John
  38. lastname: Doe
  39. groups:
  40. - admins
  41. - username: janedoe
  42. password: redhat
  43. firstname: Jane
  44. lastname: Doe
  45. groups:
  46. - developers
  47. - username: tomjones
  48. password: redhat
  49. firstname: Tom
  50. lastname: Jones
  51. groups:
  52. - viewers
  53. - username: jsmith
  54. password: redhat
  55. firstname: James
  56. lastname: Smith
  57. groups:
  58. - debuggers
  59. # Operators that need to be (re)installed.
  60. #
  61. # The first item in the list is also used for checking whether catalog(s)
  62. # were recreated successfully.
  63. added_operators:
  64. - catalog: redhat-operators
  65. package: metallb-operator
  66. channel: stable
  67. namespace: metallb-system
  68. desired_csv: metallb-operator.v4.16.0-202507221936
  69. og_namespaces: []
  70. approval: Manual
  71. - catalog: redhat-operators
  72. package: rhbk-operator
  73. channel: stable-v26.2
  74. namespace: keycloak
  75. desired_csv: rhbk-operator.v26.2.7-opr.1
  76. og_namespaces:
  77. - keycloak
  78. approval: Manual
  79. - catalog: community-operators
  80. package: grafana-operator
  81. channel: v5
  82. namespace: grafana
  83. desired_csv: grafana-operator.v5.18.0
  84. og_namespaces: []
  85. approval: Manual
  86. - catalog: redhat-operators
  87. package: openshift-cert-manager-operator
  88. channel: stable-v1.17
  89. namespace: openshift-cert-manager
  90. desired_csv: cert-manager-operator.v1.17.0
  91. og_namespaces: []
  92. approval: Manual
  93. # Some cleanup here.
  94. removed_operators:
  95. - sub_nspc: openshift-cnv
  96. sub_name: kubevirt-hyperconverged
  97. csv_kill: yes
  98. csv_name: kubevirt-hyperconverged-operator.v4.16.1
  99. nsp_kill: yes
  100. pre_cleanup:
  101. - kind: hyperconverged
  102. apiv: hco.kubevirt.io/v1beta1
  103. nspc: openshift-cnv
  104. wait_for_gone: yes
  105. wait_for_sec: 600
  106. add_cleanup:
  107. - name: aaqs.aaq.kubevirt.io
  108. - name: cdis.cdi.kubevirt.io
  109. - label: operators.coreos.com/kubevirt-hyperconverged.openshift-cnv
  110. # The list of OpenShift clusters check-env will try to connect to.
  111. clusters:
  112. - ocp4
  113. ...