aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/noheat
diff options
context:
space:
mode:
Diffstat (limited to 'deployment/noheat')
-rw-r--r--deployment/noheat/infra-openstack/ansible/group_vars/all.yml.sample1
-rw-r--r--deployment/noheat/infra-openstack/ansible/group_vars/all.yml.sm-onap6
-rw-r--r--deployment/noheat/infra-openstack/ansible/roles/openstack/create_devstack_hosts/tasks/create_host.yml3
3 files changed, 10 insertions, 0 deletions
diff --git a/deployment/noheat/infra-openstack/ansible/group_vars/all.yml.sample b/deployment/noheat/infra-openstack/ansible/group_vars/all.yml.sample
index 40fdabf94..07488aa57 100644
--- a/deployment/noheat/infra-openstack/ansible/group_vars/all.yml.sample
+++ b/deployment/noheat/infra-openstack/ansible/group_vars/all.yml.sample
@@ -17,3 +17,4 @@ hosts:
keypair: *keypair_name
network: *network_name
securitygroup: *securitygroup_name
+ volume_size: 5
diff --git a/deployment/noheat/infra-openstack/ansible/group_vars/all.yml.sm-onap b/deployment/noheat/infra-openstack/ansible/group_vars/all.yml.sm-onap
index 6e95fdf33..fac94c58d 100644
--- a/deployment/noheat/infra-openstack/ansible/group_vars/all.yml.sm-onap
+++ b/deployment/noheat/infra-openstack/ansible/group_vars/all.yml.sm-onap
@@ -17,12 +17,14 @@ hosts:
keypair: *keypair_name
network: *network_name
securitygroup: *securitygroup_name
+ volume_size: 20
- name: "control0"
image: "Ubuntu_18.04"
flavor: "m1.xlarge"
keypair: *keypair_name
network: *network_name
securitygroup: *securitygroup_name
+ volume_size: 50
- name: "worker0a"
image: "Ubuntu_18.04"
flavor: "m1.2xlarge"
@@ -30,6 +32,7 @@ hosts:
network: *network_name
auto_ip: false
securitygroup: *securitygroup_name
+ volume_size: 80
- name: "worker0b"
image: "Ubuntu_18.04"
flavor: "m1.2xlarge"
@@ -37,6 +40,7 @@ hosts:
network: *network_name
auto_ip: false
securitygroup: *securitygroup_name
+ volume_size: 80
- name: "worker0c"
image: "Ubuntu_18.04"
flavor: "m1.2xlarge"
@@ -44,6 +48,7 @@ hosts:
network: *network_name
auto_ip: false
securitygroup: *securitygroup_name
+ volume_size: 80
- name: "nfs0"
image: "Ubuntu_18.04"
flavor: "m1.large"
@@ -51,3 +56,4 @@ hosts:
network: *network_name
auto_ip: false
securitygroup: *securitygroup_name
+ volume_size: 150
diff --git a/deployment/noheat/infra-openstack/ansible/roles/openstack/create_devstack_hosts/tasks/create_host.yml b/deployment/noheat/infra-openstack/ansible/roles/openstack/create_devstack_hosts/tasks/create_host.yml
index 4c6759fd7..2a78e82e3 100644
--- a/deployment/noheat/infra-openstack/ansible/roles/openstack/create_devstack_hosts/tasks/create_host.yml
+++ b/deployment/noheat/infra-openstack/ansible/roles/openstack/create_devstack_hosts/tasks/create_host.yml
@@ -10,3 +10,6 @@
security_groups:
- "{{ host.securitygroup }}"
auto_ip: "{{ host.auto_ip | default(true) }}"
+ boot_from_volume: true
+ terminate_volume: true
+ volume_size: "{{ host.volume_size | default(10) }}"