vars.yml 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. ---
  2. debug_level: 2
  3. openstack_infra_heat_stack: "{{ lookup('oo_option', 'infra_heat_stack' ) |
  4. default('files/heat_stack.yaml', True) }}"
  5. openstack_subnet_24_prefix: "{{ lookup('oo_option', 'subnet_24_prefix' ) |
  6. default('192.168.' + ( ( 1048576 | random % 256 ) | string() ), True) }}"
  7. openstack_network_external_net: "{{ lookup('oo_option', 'external_net' ) |
  8. default('external', True) }}"
  9. openstack_network_dns: "{{ lookup('oo_option', 'dns' ) |
  10. default('8.8.8.8,8.8.4.4', True) | oo_split() }}"
  11. openstack_ssh_public_key: "{{ lookup('file', lookup('oo_option', 'public_key') |
  12. default('~/.ssh/id_rsa.pub', True)) }}"
  13. openstack_ssh_access_from: "{{ lookup('oo_option', 'ssh_from') |
  14. default('0.0.0.0/0', True) }}"
  15. openstack_flavor:
  16. etcd: "{{ lookup('oo_option', 'etcd_flavor' ) | default('m1.small', True) }}"
  17. master: "{{ lookup('oo_option', 'master_flavor' ) | default('m1.small', True) }}"
  18. infra: "{{ lookup('oo_option', 'infra_flavor' ) | default('m1.small', True) }}"
  19. node: "{{ lookup('oo_option', 'node_flavor' ) | default('m1.medium', True) }}"
  20. deployment_rhel7_ent_base:
  21. image: "{{ lookup('oo_option', 'image_name') | default('rhel-guest-image-7.2-20151102.0.x86_64', True) }}"
  22. ssh_user: openshift
  23. sudo: yes
  24. deployment_vars:
  25. origin:
  26. image: "{{ lookup('oo_option', 'image_name') | default('centos-70-raw', True) }}"
  27. ssh_user: openshift
  28. sudo: yes
  29. online:
  30. image:
  31. ssh_user: root
  32. sudo: no
  33. enterprise: "{{ deployment_rhel7_ent_base }}"
  34. openshift-enterprise: "{{ deployment_rhel7_ent_base }}"
  35. atomic-enterprise: "{{ deployment_rhel7_ent_base }}"