vars.yml 2.1 KB

123456789101112131415161718192021222324252627282930313233343536
  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_node_port_access_from: "{{ lookup('oo_option', 'node_port_from') |
  16. default('0.0.0.0/0', True) }}"
  17. openstack_flavor:
  18. dns: "{{ lookup('oo_option', 'dns_flavor' ) | default('m1.small', True) }}"
  19. etcd: "{{ lookup('oo_option', 'etcd_flavor' ) | default('m1.small', True) }}"
  20. master: "{{ lookup('oo_option', 'master_flavor' ) | default('m1.small', True) }}"
  21. infra: "{{ lookup('oo_option', 'infra_flavor' ) | default('m1.small', True) }}"
  22. node: "{{ lookup('oo_option', 'node_flavor' ) | default('m1.medium', True) }}"
  23. deployment_rhel7_ent_base:
  24. image: "{{ lookup('oo_option', 'image_name') | default('rhel-guest-image-7.2-20151102.0.x86_64', True) }}"
  25. ssh_user: openshift
  26. become: yes
  27. deployment_vars:
  28. origin:
  29. image: "{{ lookup('oo_option', 'image_name') | default('centos-70-raw', True) }}"
  30. ssh_user: openshift
  31. become: yes
  32. enterprise: "{{ deployment_rhel7_ent_base }}"
  33. openshift-enterprise: "{{ deployment_rhel7_ent_base }}"
  34. atomic-enterprise: "{{ deployment_rhel7_ent_base }}"