Jim Rigsbee
2020-02-24 f1f359e3a223fd741b28e3b62993b47b492483d0
Add ocp4 support for availability zones
1 files modified
14 ■■■■■ changed files
ansible/configs/ocp4-workshop/files/install-config.yaml.j2 14 ●●●●● patch | view | raw | blame | history
ansible/configs/ocp4-workshop/files/install-config.yaml.j2
@@ -3,9 +3,15 @@
baseDomain: {{ ocp4_base_domain | default(guid + subdomain_base_suffix) }}
compute:
- hyperthreading: Enabled
  name: worker
  name: worker
  platform:
    aws:
{% if ocp_availability_zones is defined %}
      zones:
{% for az in ocp_availability_zones %}
      - {{ az }}
{% endfor %}
{% endif %}
      type: {{ worker_instance_type }}
      rootVolume:
        type: {{ worker_storage_type }}
@@ -15,6 +21,12 @@
  name: master
  platform:
    aws:
{% if ocp_availability_zones is defined %}
      zones:
{% for az in ocp_availability_zones %}
      - {{ az }}
{% endfor %}
{% endif %}
      type: {{ master_instance_type }}
      rootVolume:
        type: {{ master_storage_type }}