summaryrefslogtreecommitdiffstats
path: root/playbooks/openstack/openshift-cluster/vars.yml
diff options
context:
space:
mode:
authorLénaïc Huard <lhuard@amadeus.com>2015-06-25 10:08:52 +0200
committerLénaïc Huard <lhuard@amadeus.com>2015-07-15 17:48:38 +0200
commit4b439253e7b4486947d201714d4f52a4a7e0fc01 (patch)
tree3f73f7b7f904a35ceb22b93998c076a3c9adf00d /playbooks/openstack/openshift-cluster/vars.yml
parenta1fe1b25b588ba995192b99e44a7950ee0c6e032 (diff)
downloadopenshift-4b439253e7b4486947d201714d4f52a4a7e0fc01.tar.gz
openshift-4b439253e7b4486947d201714d4f52a4a7e0fc01.tar.bz2
openshift-4b439253e7b4486947d201714d4f52a4a7e0fc01.tar.xz
openshift-4b439253e7b4486947d201714d4f52a4a7e0fc01.zip
Make all the OpenStack resources be managed by a Heat Stack
Diffstat (limited to 'playbooks/openstack/openshift-cluster/vars.yml')
-rw-r--r--playbooks/openstack/openshift-cluster/vars.yml22
1 files changed, 5 insertions, 17 deletions
diff --git a/playbooks/openstack/openshift-cluster/vars.yml b/playbooks/openstack/openshift-cluster/vars.yml
index 1ae7c17d2..d077a6ced 100644
--- a/playbooks/openstack/openshift-cluster/vars.yml
+++ b/playbooks/openstack/openshift-cluster/vars.yml
@@ -1,6 +1,6 @@
---
openstack_infra_heat_stack: "{{ lookup('oo_option', 'infra_heat_stack' ) |
- default('files/heat_stack.yml', True) }}"
+ 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' ) |
@@ -18,31 +18,19 @@ openstack_ssh_public_key: "{{ lookup('file', lookup('oo_option', 'public_k
openstack_ssh_access_from: "{{ lookup('oo_option', 'ssh_from') |
default('0.0.0.0/0', True) }}"
openstack_flavor:
- master:
- ram: "{{ lookup('oo_option', 'master_flavor_ram' ) | default(2048, True) }}"
- id: "{{ lookup('oo_option', 'master_flavor_id' ) | default(True) }}"
- include: "{{ lookup('oo_option', 'master_flavor_include') | default(True) }}"
- node:
- ram: "{{ lookup('oo_option', 'node_flavor_ram' ) | default(4096, True) }}"
- id: "{{ lookup('oo_option', 'node_flavor_id' ) | default(True) }}"
- include: "{{ lookup('oo_option', 'node_flavor_include' ) | default(True) }}"
+ master: "{{ lookup('oo_option', 'master_flavor' ) | default('m1.small', True) }}"
+ node: "{{ lookup('oo_option', 'node_flavor' ) | default('m1.medium', True) }}"
deployment_vars:
origin:
- image:
- name: "{{ lookup('oo_option', 'image_name') | default('centos-70-raw', True) }}"
- id:
+ image: "{{ lookup('oo_option', 'image_name') | default('centos-70-raw', True) }}"
ssh_user: openshift
sudo: yes
online:
image:
- name:
- id:
ssh_user: root
sudo: no
enterprise:
- image:
- name: "{{ lookup('oo_option', 'image_name') | default('rhel-guest-image-7.1-20150224.0.x86_64', True) }}"
- id:
+ image: "{{ lookup('oo_option', 'image_name') | default('rhel-guest-image-7.1-20150224.0.x86_64', True) }}"
ssh_user: openshift
sudo: yes