inventory.example 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. [all:vars]
  2. openshift_ovirt_dns_zone= # example.com
  3. [OSEv3:children]
  4. nodes
  5. masters
  6. etcd
  7. lb
  8. [OSEv3:vars]
  9. # General variables
  10. ansible_user=root
  11. openshift_deployment_type=origin
  12. #openshift_deployment_type=openshift-enterprise
  13. openshift_enable_service_catalog=False
  14. # Hostnames
  15. load_balancer_hostname=lb0.{{openshift_ovirt_dns_zone}}
  16. openshift_master_cluster_hostname="{{ load_balancer_hostname }}"
  17. openshift_master_cluster_public_hostname=openshift-master.{{ openshift_ovirt_dns_zone }}
  18. openshift_master_default_subdomain=apps.{{ openshift_ovirt_dns_zone }}
  19. openshift_public_hostname="{{openshift_master_cluster_public_hostname}}"
  20. # Docker setup for extra disks on nodes
  21. container_runtime_docker_storage_setup_device=/dev/vdb
  22. container_runtime_docker_storage_type=overlay2
  23. openshift_node_local_quota_per_fsgroup=512Mi
  24. [masters:vars]
  25. container_runtime_extra_storage="[{'device': '/dev/vdc', 'path': '/var/lib/origin/openshift.local.volumes', 'options': 'gquota', 'filesystem': 'xfs', 'format': 'True'}, {'device': '/dev/vdd', 'path': '/var/lib/etcd', 'hosts': 'masters', 'filesystem': 'xfs', 'format': 'True'}]"
  26. [nodes:vars]
  27. container_runtime_extra_storage="[{'device': '/dev/vdc', 'path': '/var/lib/origin/openshift.local.volumes', 'options': 'gquota', 'filesystem': 'xfs', 'format': 'True'}]"
  28. [masters]
  29. master0.example.com
  30. master1.example.com
  31. master2.example.com
  32. [etcd]
  33. master0.example.com
  34. master1.example.com
  35. master2.example.com
  36. [infras]
  37. infra0.example.com
  38. infra1.example.com
  39. infra2.example.com
  40. [lb]
  41. lb0.example.com
  42. [nodes]
  43. master0.example.com openshift_node_group_name=node-config-master
  44. master1.example.com openshift_node_group_name=node-config-master
  45. master2.example.com openshift_node_group_name=node-config-master
  46. infra0.example.com openshift_node_group_name=node-config-infra
  47. infra1.example.com openshift_node_group_name=node-config-infra
  48. infra2.example.com openshift_node_group_name=node-config-infra
  49. compute0.example.com openshift_node_group_name=node-config-compute
  50. # vim: set syntax=dosini