summaryrefslogtreecommitdiffstats
path: root/playbooks/provisioning
diff options
context:
space:
mode:
authorTomas Sedovic <tomas@sedovic.cz>2017-06-02 14:41:29 +0200
committerTomas Sedovic <tomas@sedovic.cz>2017-06-14 16:41:35 +0200
commit079f58cb9d137fd35e58043f2b53a9b964f3d3d2 (patch)
treee98d82e1ac286c6bbb8563098020914aa94b2565 /playbooks/provisioning
parentc3cefa9996fb67b846f44eed78644a0f52d76df1 (diff)
downloadopenshift-079f58cb9d137fd35e58043f2b53a9b964f3d3d2.tar.gz
openshift-079f58cb9d137fd35e58043f2b53a9b964f3d3d2.tar.bz2
openshift-079f58cb9d137fd35e58043f2b53a9b964f3d3d2.tar.xz
openshift-079f58cb9d137fd35e58043f2b53a9b964f3d3d2.zip
Add default values to provision-openstack.yml
Diffstat (limited to 'playbooks/provisioning')
-rw-r--r--playbooks/provisioning/openstack/provision-openstack.yml16
1 files changed, 8 insertions, 8 deletions
diff --git a/playbooks/provisioning/openstack/provision-openstack.yml b/playbooks/provisioning/openstack/provision-openstack.yml
index 8125548fd..0505f1bda 100644
--- a/playbooks/provisioning/openstack/provision-openstack.yml
+++ b/playbooks/provisioning/openstack/provision-openstack.yml
@@ -1,7 +1,7 @@
---
- hosts: localhost
pre_tasks:
- - include: roles/common/pre_tasks/pre_tasks.yml
+ - include: pre_tasks.yml
roles:
- role: openstack-stack
stack_name: "{{ env_id }}.{{ public_dns_domain }}"
@@ -10,14 +10,14 @@
subnet_prefix: "{{ openstack_subnet_prefix }}"
ssh_public_key: "{{ openstack_ssh_public_key }}"
openstack_image: "{{ openstack_default_image_name }}"
- lb_flavor: "{{ openstack_lb_flavor | default('m1.small') }}"
- etcd_flavor: "{{ openstack_default_flavor }}"
- master_flavor: "{{ openstack_default_flavor }}"
- node_flavor: "{{ openstack_default_flavor }}"
- infra_flavor: "{{ openstack_default_flavor }}"
- dns_flavor: "{{ openstack_dns_flavor | default('m1.small') }}"
+ lb_flavor: "{{ openstack_default_flavor | default('m1.small') }}"
+ etcd_flavor: "{{ openstack_default_flavor | default('m1.small') }}"
+ master_flavor: "{{ openstack_default_flavor | default('m1.medium') }}"
+ node_flavor: "{{ openstack_default_flavor | default('m1.medium') }}"
+ infra_flavor: "{{ openstack_default_flavor | default('m1.medium') }}"
+ dns_flavor: "{{ openstack_default_flavor | default('m1.small') }}"
external_network: "{{ openstack_external_network_name }}"
- num_etcd: 0
+ num_etcd: "{{ openstack_num_etcd | default(0) }}"
num_masters: "{{ openstack_num_masters }}"
num_nodes: "{{ openstack_num_nodes }}"
num_infra: "{{ openstack_num_infra }}"