aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/noheat/infra-openstack/ansible/roles/create_hosts/tasks
diff options
context:
space:
mode:
authorRado Chmiel <r.chmiel@partner.samsung.com>2022-01-27 12:54:54 +0100
committerMaciej Wereski <m.wereski@partner.samsung.com>2022-09-30 13:25:02 +0200
commit5ea85531ec762930e6f34dc4240776e43e2b88e7 (patch)
treec1ad0ccc8a882670f06973774ed153c6f1e32d01 /deployment/noheat/infra-openstack/ansible/roles/create_hosts/tasks
parent2cc1c77d7aa6f65cc8b7bdbfeb0635d6f0cc2784 (diff)
noheat: improvements for infra setup and Helm push plugin
* set remote_src in helm installation * add umount to clean up nfs mountpoint * fix pip executable error for Ubuntu 20.04 * make separate volume usage for instances optional * add ability to set public DNS servers to network creation * change installation method to command since current stable release of kubernetes.core doesnt support versioning * hardcode helm push plugin version to 0.9.0 Issue-ID: INT-1601 Signed-off-by: Maciej Wereski <m.wereski@partner.samsung.com> Change-Id: I5d374db779f6fc1f165eb5efe9b69b8a05c9f388
Diffstat (limited to 'deployment/noheat/infra-openstack/ansible/roles/create_hosts/tasks')
-rw-r--r--deployment/noheat/infra-openstack/ansible/roles/create_hosts/tasks/create_host.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/deployment/noheat/infra-openstack/ansible/roles/create_hosts/tasks/create_host.yml b/deployment/noheat/infra-openstack/ansible/roles/create_hosts/tasks/create_host.yml
index c217abaa9..8fa4d0709 100644
--- a/deployment/noheat/infra-openstack/ansible/roles/create_hosts/tasks/create_host.yml
+++ b/deployment/noheat/infra-openstack/ansible/roles/create_hosts/tasks/create_host.yml
@@ -10,8 +10,8 @@
security_groups:
- "{{ host.securitygroup }}"
auto_ip: "{{ host.auto_ip | default(true) }}"
- boot_from_volume: true
- terminate_volume: true
+ boot_from_volume: "{{ host.boot_from_volume | default(true) }}"
+ terminate_volume: "{{ host.terminate_volume | default(true) }}"
volume_size: "{{ host.volume_size | default(10) }}"
userdata: |
#cloud-config