tkummer33
2020-03-04 d0fa81c3b4fd33133f74a539498473433968eb41
Support custom compute flavor (#1228)

* add suport for custom osp_cloud_name

* add support for custom cloud names

* add os_cloud_name var templates for clouds.yaml.j2 template

* add variable for compute flavor

* change the computeFlavor: {{ worker_instance_type }} in install-config.yaml.j2

Co-authored-by: Wolfgang Kulhanek <wkulhanek@users.noreply.github.com>
2 files modified
3 ■■■■ changed files
ansible/configs/ocp4-cluster/default_vars_osp.yml 1 ●●●● patch | view | raw | blame | history
ansible/roles/host-ocp4-installer/templates/install-config.yaml.j2 2 ●●● patch | view | raw | blame | history
ansible/configs/ocp4-cluster/default_vars_osp.yml
@@ -188,3 +188,4 @@
# Worker Instance Type
worker_instance_type: 4c16g30d
ansible/roles/host-ocp4-installer/templates/install-config.yaml.j2
@@ -52,7 +52,7 @@
{% if cloud_provider == 'osp' %}
  openstack:
    cloud: {{ osp_cloud_name }}
    computeFlavor: 4c16g30d
    computeFlavor: {{ worker_instance_type }}
    externalNetwork: external
    lbFloatingIP: {{ hostvars.localhost.ocp_api_fip }}
    octaviaSupport: "1"