inventory.yml 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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. # Operators that need to be (re)installed.
  17. #
  18. # The first item in the list is also used for checking whether catalog(s)
  19. # were recreated successfully.
  20. added_operators:
  21. - catalog: redhat-operators
  22. package: metallb-operator
  23. channel: stable
  24. namespace: metallb-system
  25. desired_csv: metallb-operator.v4.16.0-202507221936
  26. og_namespaces: []
  27. # Some cleanup here.
  28. removed_operators:
  29. - sub_nspc: openshift-cnv
  30. sub_name: kubevirt-hyperconverged
  31. csv_kill: yes
  32. csv_name: kubevirt-hyperconverged-operator.v4.16.1
  33. nsp_kill: yes
  34. pre_cleanup:
  35. - kind: hyperconverged
  36. apiv: hco.kubevirt.io/v1beta1
  37. nspc: openshift-cnv
  38. wait_for_gone: yes
  39. wait_for_sec: 600
  40. add_cleanup:
  41. - name: aaqs.aaq.kubevirt.io
  42. - name: cdis.cdi.kubevirt.io
  43. - label: operators.coreos.com/kubevirt-hyperconverged.openshift-cnv
  44. # The list of OpenShift clusters check-env will try to connect to.
  45. clusters:
  46. - ocp4
  47. ...