vars.yml 2.0 KB

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