summaryrefslogtreecommitdiffstats
path: root/playbooks/openstack/openshift-cluster/vars.yml
diff options
context:
space:
mode:
authorLénaïc Huard <lhuard@amadeus.com>2015-08-17 10:43:49 +0200
committerLénaïc Huard <lhuard@amadeus.com>2015-08-17 10:44:24 +0200
commitb9606a11fe875d9151a0238bc45f149e1cbe819c (patch)
tree98eaf8f37d3e4d9613bfc2f9ee90e18291bb3cb0 /playbooks/openstack/openshift-cluster/vars.yml
parent30d653aa5b776afbf35c98b1b5e7436f8cb7123c (diff)
downloadopenshift-b9606a11fe875d9151a0238bc45f149e1cbe819c.tar.gz
openshift-b9606a11fe875d9151a0238bc45f149e1cbe819c.tar.bz2
openshift-b9606a11fe875d9151a0238bc45f149e1cbe819c.tar.xz
openshift-b9606a11fe875d9151a0238bc45f149e1cbe819c.zip
Properly pass the "external network" option to the HEAT template
Fixes #471
Diffstat (limited to 'playbooks/openstack/openshift-cluster/vars.yml')
-rw-r--r--playbooks/openstack/openshift-cluster/vars.yml8
1 files changed, 2 insertions, 6 deletions
diff --git a/playbooks/openstack/openshift-cluster/vars.yml b/playbooks/openstack/openshift-cluster/vars.yml
index 43e25f2e6..262d3f4ed 100644
--- a/playbooks/openstack/openshift-cluster/vars.yml
+++ b/playbooks/openstack/openshift-cluster/vars.yml
@@ -1,18 +1,14 @@
---
openstack_infra_heat_stack: "{{ lookup('oo_option', 'infra_heat_stack' ) |
default('files/heat_stack.yaml', True) }}"
-openstack_network_prefix: "{{ lookup('oo_option', 'network_prefix' ) |
- default('openshift-ansible-'+cluster_id, True) }}"
openstack_network_cidr: "{{ lookup('oo_option', 'net_cidr' ) |
default('192.168.' + ( ( 1048576 | random % 256 ) | string() ) + '.0/24', True) }}"
openstack_network_external_net: "{{ lookup('oo_option', 'external_net' ) |
default('external', True) }}"
-openstack_floating_ip_pools: "{{ lookup('oo_option', 'floating_ip_pools') |
- default('external', True) | oo_split() }}"
+openstack_floating_ip_pool: "{{ lookup('oo_option', 'floating_ip_pool' ) |
+ default('external', True) }}"
openstack_network_dns: "{{ lookup('oo_option', 'dns' ) |
default('8.8.8.8,8.8.4.4', True) | oo_split() }}"
-openstack_ssh_keypair: "{{ lookup('oo_option', 'keypair' ) |
- default(lookup('env', 'LOGNAME')+'_key', True) }}"
openstack_ssh_public_key: "{{ lookup('file', lookup('oo_option', 'public_key') |
default('~/.ssh/id_rsa.pub', True)) }}"
openstack_ssh_access_from: "{{ lookup('oo_option', 'ssh_from') |