vars.yml 2.2 KB

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