main.yml 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. ---
  2. # Defaults for oVirt provider integration
  3. compatibility_version: 4.2
  4. data_center_name: Default
  5. wait_for_ip: true
  6. openshift_ovirt_cluster: Default
  7. template_name: openshift_node
  8. # User must provide those vars:
  9. openshift_ovirt_dns_zone:
  10. openshift_ovirt_ssh_key:
  11. # oVirt VM Profiles
  12. openshift_ovirt_vm_profile:
  13. master:
  14. cluster: "{{ openshift_ovirt_cluster }}"
  15. template: "{{ template_name }}"
  16. memory: 16GiB
  17. cores: 2
  18. high_availability: true
  19. disks:
  20. - size: 15GiB
  21. storage_domain: "{{ openshift_ovirt_data_store }}"
  22. name: docker_disk
  23. interface: virtio
  24. - size: 30GiB
  25. storage_domain: "{{ openshift_ovirt_data_store }}"
  26. name: localvol_disk
  27. interface: virtio
  28. - size: 25GiB
  29. storage_domain: "{{ openshift_ovirt_data_store }}"
  30. name: etcd_disk
  31. interface: virtio
  32. state: running
  33. node:
  34. cluster: "{{ openshift_ovirt_cluster }}"
  35. template: "{{ template_name }}"
  36. memory: 8GiB
  37. cores: 2
  38. high_availability: true
  39. disks:
  40. - size: 15GiB
  41. storage_domain: "{{ openshift_ovirt_data_store }}"
  42. name: docker_disk
  43. interface: virtio
  44. - size: 30GiB
  45. storage_domain: "{{ openshift_ovirt_data_store }}"
  46. name: localvol_disk
  47. interface: virtio
  48. state: running
  49. openshift_ovirt_vm_manifest:
  50. - name: 'master'
  51. count: 3
  52. profile: 'master'
  53. - name: 'infra'
  54. count: 3
  55. profile: 'node'
  56. - name: 'compute'
  57. count: 1
  58. profile: 'node'
  59. - name: 'lb'
  60. count: 1
  61. profile: 'node'