aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/noheat/infra-openstack/ansible/roles/openstack
diff options
context:
space:
mode:
authorPawel Wieczorek <p.wieczorek2@samsung.com>2020-06-19 19:20:50 +0200
committerBartek Grzybowski <b.grzybowski@partner.samsung.com>2020-07-30 09:04:21 +0000
commite9c9aaa4870e29f215ee5f47a0de2149b6afe610 (patch)
tree148b481acc18579bee416a8a00aa7df52f417b73 /deployment/noheat/infra-openstack/ansible/roles/openstack
parent7fb280374d17a2fae222e82aab0778604fec2ea2 (diff)
Use external volumes for OpenStack virtual machines
This allows easier storage quota changes (without the need to modify flavors). Issue-ID: INT-1601 Change-Id: I0fe7557ff6f23eb0e29314ee0d4819893583a294 Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
Diffstat (limited to 'deployment/noheat/infra-openstack/ansible/roles/openstack')
-rw-r--r--deployment/noheat/infra-openstack/ansible/roles/openstack/create_devstack_hosts/tasks/create_host.yml3
1 files changed, 3 insertions, 0 deletions
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) }}"