inventory.yml 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  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_user: root
  11. vars:
  12. # OpenShift versions.
  13. ocp_maj: "4.10" # XXX unused
  14. ocp_z: "4.10.3"
  15. # Various EAP versions.
  16. eap_v: "7.4" # XXX unused
  17. eap_z: "7.4.12"
  18. eap_xp: "4.0"
  19. wf_s2i: "1.1.3-jdk17"
  20. wf_old: "29.0.1.Final-jdk17" # XXX unused
  21. eap_ch: "stable"
  22. # We need this operator CSV.
  23. op_cat: redhat-operators
  24. op_pkg: eap
  25. desired_csv: eap-operator.v2.4.2
  26. # These are the tools we need, some also need to be downloaded.
  27. tools:
  28. oc:
  29. final_name: /usr/bin/oc
  30. completion: yes
  31. completion_file: oc
  32. # The list of OpenShift clusters check-env will try to connect to.
  33. clusters:
  34. - ocp4
  35. # The list of images we need to pull to workstation. Not enough space for all.
  36. pull_images:
  37. - name: registry.redhat.io/jboss-eap-7/eap74-openjdk17-openshift-rhel8:{{ eap_z }}
  38. tag_latest: yes
  39. auth_file: registry-rh-auth
  40. # - name: registry.redhat.io/jboss-eap-7/eap74-openjdk17-runtime-openshift-rhel8:{{ eap_z }}
  41. # tag_latest: yes
  42. # auth_file: registry-rh-auth
  43. # - name: registry.redhat.io/jboss-eap-7/eap-xp4-openjdk17-openshift-rhel8:{{ eap_xp }}
  44. # tag_latest: yes
  45. # auth_file: registry-rh-auth
  46. # - name: registry.redhat.io/jboss-eap-7/eap-xp4-openjdk17-runtime-openshift-rhel8:{{ eap_xp }}
  47. # tag_latest: yes
  48. # auth_file: registry-rh-auth
  49. - name: quay.io/wildfly/wildfly-s2i:{{ wf_s2i }}
  50. tag_latest: yes
  51. # - name: quay.io/wildfly/wildfly-runtime:{{ wf_s2i }}
  52. # tag_latest: yes
  53. # - name: quay.io/wildfly/wildfly:{{ wf_old }}
  54. # tag_latest: yes
  55. # - name: registry.redhat.io/rhel9/postgresql-13:latest
  56. # auth_file: registry-rh-auth
  57. # tag_latest: no
  58. # The list of files we need to pull to workstation.
  59. pull_files:
  60. - name: jboss-eap-7.4.0.zip
  61. file_id: 1TW_IlIBWWB2G5pLtAUk8THKFNYzHhRKy
  62. extract_to: /opt
  63. extracted_dir: /opt/jboss-eap-7.4
  64. target_path: /opt/eap
  65. add_to_path: yes
  66. remove_after: yes
  67. direct_download: no
  68. # - name: jboss-eap-7.4.0-quickstarts.zip
  69. # file_id: 1KW9MoJzzWV5UQOGFI4gF16qzO3vLID-A
  70. # checksum: sha256:7f84cd8449365eff8cf114f4bef17533ae2bd10ac3e73a8ee7db3be0e9aa20cb
  71. # direct_download: yes
  72. - name: jboss-eap-7.4.12-patch.zip
  73. file_id: 1LlQH9LNBNYmUsI79aSkBe_17iAqh5SEN
  74. direct_download: no
  75. target_path: /opt/eap/.installation/patches/jboss-eap-7.4.12.CP
  76. - name: cluster.war
  77. file_id: 138PY051OrbFeSc9sAWwtSDJqM5RxOdib
  78. direct_download: yes
  79. - name: example-secure.war
  80. file_id: 1MUl2-xe_7WjMaYCIIdoZLjT6cXEwOHGt
  81. direct_download: yes
  82. - name: dstest.war
  83. file_id: 15jrD-DtWI_igF3i67eS7bc9oreAsYCg6
  84. direct_download: yes
  85. - name: logtest.war
  86. file_id: 1T-JIOk9hFbIoXPMvR4RL0kz8G4rXBUiI
  87. direct_download: yes
  88. - name: messaging-client.war
  89. file_id: 1aAnDXq5hesSWZ7wzkKXQkJ_W8u_RRqpq
  90. direct_download: yes
  91. - name: version.war
  92. file_id: 1UfW9sMlGiuBF93R7dTdjpuPy61WFtXQ1
  93. direct_download: yes
  94. - name: welcome.war
  95. file_id: 1195m1gaFKqye1Yzg457MSWM0oW4y0ous
  96. direct_download: yes
  97. - name: source-to-image-v1.3.8-980ca195-linux-amd64.tar.gz
  98. url: https://github.com/openshift/source-to-image/releases/download/v1.3.8/source-to-image-v1.3.8-980ca195-linux-amd64.tar.gz
  99. extract_to: /usr/local/bin
  100. extract_fix_perms: 0755
  101. target_path: /usr/local/bin/s2i
  102. remove_after: yes
  103. ...