summaryrefslogtreecommitdiffstats
path: root/playbooks/openstack/openshift-cluster
diff options
context:
space:
mode:
authorJason DeTiberus <detiber@gmail.com>2016-11-16 14:27:41 -0500
committerGitHub <noreply@github.com>2016-11-16 14:27:41 -0500
commit7762b55f399eda5dd1ea1ad74773ac48778cb30b (patch)
treeb208f424ad387643cc69c19e7a3295f56781b594 /playbooks/openstack/openshift-cluster
parent3b41756a818562207caa2fbef1186aafc5ca8511 (diff)
parent47f60945df5179efc61031854476ffc9b27e6a19 (diff)
downloadopenshift-7762b55f399eda5dd1ea1ad74773ac48778cb30b.tar.gz
openshift-7762b55f399eda5dd1ea1ad74773ac48778cb30b.tar.bz2
openshift-7762b55f399eda5dd1ea1ad74773ac48778cb30b.tar.xz
openshift-7762b55f399eda5dd1ea1ad74773ac48778cb30b.zip
Merge pull request #2734 from dougbtv/openstack_timeout_option
[openstack] allows timeout option for heat create stack
Diffstat (limited to 'playbooks/openstack/openshift-cluster')
-rw-r--r--playbooks/openstack/openshift-cluster/launch.yml2
-rw-r--r--playbooks/openstack/openshift-cluster/vars.yml2
2 files changed, 3 insertions, 1 deletions
diff --git a/playbooks/openstack/openshift-cluster/launch.yml b/playbooks/openstack/openshift-cluster/launch.yml
index eb2c4269a..7e037f2af 100644
--- a/playbooks/openstack/openshift-cluster/launch.yml
+++ b/playbooks/openstack/openshift-cluster/launch.yml
@@ -25,7 +25,7 @@
- name: Create or Update OpenStack Stack
command: 'heat {{ heat_stack_action }} -f {{ openstack_infra_heat_stack }}
- --timeout 3
+ --timeout {{ openstack_heat_timeout }}
-P cluster_env={{ cluster_env }}
-P cluster_id={{ cluster_id }}
-P subnet_24_prefix={{ openstack_subnet_24_prefix }}
diff --git a/playbooks/openstack/openshift-cluster/vars.yml b/playbooks/openstack/openshift-cluster/vars.yml
index 62111dacf..79b336ce7 100644
--- a/playbooks/openstack/openshift-cluster/vars.yml
+++ b/playbooks/openstack/openshift-cluster/vars.yml
@@ -14,6 +14,8 @@ openstack_ssh_access_from: "{{ lookup('oo_option', 'ssh_from') |
default('0.0.0.0/0', True) }}"
openstack_node_port_access_from: "{{ lookup('oo_option', 'node_port_from') |
default('0.0.0.0/0', True) }}"
+openstack_heat_timeout: "{{ lookup('oo_option', 'heat_timeout') |
+ default('3', True) }}"
openstack_flavor:
etcd: "{{ lookup('oo_option', 'etcd_flavor' ) | default('m1.small', True) }}"
master: "{{ lookup('oo_option', 'master_flavor' ) | default('m1.small', True) }}"