Wolfgang Kulhanek
2020-01-21 670a807176f19371981ccbe57a477130a5b616f3
Fix Install Config for OSP
1 files modified
13 ■■■■■ changed files
ansible/roles/host-ocp4-installer/templates/install-config.yaml.j2 13 ●●●●● patch | view | raw | blame | history
ansible/roles/host-ocp4-installer/templates/install-config.yaml.j2
@@ -6,7 +6,7 @@
  name: worker
  platform:
    {% if cloud_provider == 'ec2'| d(false) | bool %}
          ImageId: {{ custom_image.image_id }}
    ImageId: {{ custom_image.image_id }}
    aws:
      type: {{ worker_instance_type }}
      rootVolume:
@@ -18,7 +18,7 @@
  name: master
  platform:
    {% if cloud_provider == 'ec2'| d(false) | bool %}
            ImageId: {{ custom_image.image_id }}
    ImageId: {{ custom_image.image_id }}
    aws:
      type: {{ master_instance_type }}
      rootVolume:
@@ -31,7 +31,12 @@
  clusterNetwork:
  - cidr: 10.128.0.0/14
    hostPrefix: 23
{% if cloud_provider == 'ec2'| d(false) | bool %}
  machineCIDR: 10.0.0.0/16
{% endif %}
{% if cloud_provider == 'osp' %}
  machineCIDR: 192.168.47.0/24
{% endif %}
  serviceNetwork:
  - 172.30.0.0/16
  networkType: OpenshiftSDN
@@ -49,8 +54,8 @@
    lbFloatingIP: {{ hostvars.localhost.ocp_api_fip }}
    octaviaSupport: "1"
    region: ""
    trunkSupport: "1"
    trunkSupport: "0"
{% endif %}
pullSecret: '{{ ocp4_token |  replace("'",'"') }}'
pullSecret: '{{ ocp4_pull_secret |  replace("'",'"') }}'
sshKey: |
  {{ idrsapub.content | b64decode }}