Pranav Gaikwad
2019-07-19 243f58190b735ba0cff0dd8346244e05db61aba0
configs/ocp-workshop : Adding variable to allow NFS server to use public DNS (#498)

3 files modified
11 ■■■■ changed files
ansible/configs/ocp-workshop/env_vars.yml 7 ●●●●● patch | view | raw | blame | history
ansible/configs/ocp-workshop/files/pvs.j2 2 ●●● patch | view | raw | blame | history
ansible/configs/ocp-workshop/files/userpvs.j2 2 ●●● patch | view | raw | blame | history
ansible/configs/ocp-workshop/env_vars.yml
@@ -150,13 +150,14 @@
node_instance_type: "m4.4xlarge"
support_instance_type: "m4.4xlarge"
nfs_instance_type: "{{ support_instance_type }}"
node_instance_count: 5
infranode_instance_count: 1
master_instance_count: 1
support_instance_count: "{{ 3 if install_glusterfs|bool else 1 }}"
# scaleup
new_node_instance_count: 0
support_instance_public_dns: "{{ true if install_glusterfs | bool else false }}"
###### VARIABLES YOU SHOULD ***NOT*** CONFIGURE FOR YOUR DEPLOYEMNT
timeout: 60
@@ -315,7 +316,7 @@
nfs_pvs: /dev/xvdd
nfs_export_path: /srv/nfs
nfs_size: 200
nfs_server_address: "support1.{{guid}}.internal"
nfs_shares:
  - user-vols
@@ -459,7 +460,7 @@
  - name: "support"
    count: "{{support_instance_count}}"
    public_dns: '{{ true if install_glusterfs | bool else false }}'
    public_dns: '{{ support_instance_public_dns }}'
    dns_loadbalancer: false
    flavor:
      ec2: "{{support_instance_type}}"
ansible/configs/ocp-workshop/files/pvs.j2
@@ -11,7 +11,7 @@
  - ReadWriteOnce
  nfs:
    path: {{ nfs_export_path }}/{{pv}}
    server: support1.{{chomped_zone_internal_dns}}
    server: {{ nfs_server_address }}
  persistentVolumeReclaimPolicy: {{persistentVolumeReclaimPolicy}}
---
{% endfor %}
ansible/configs/ocp-workshop/files/userpvs.j2
@@ -14,7 +14,7 @@
{% endif %}
  nfs:
    path: {{ nfs_export_path }}/user-vols/vol{{pv}}
    server: support1.{{chomped_zone_internal_dns}}
    server: {{ nfs_server_address }}
  persistentVolumeReclaimPolicy: {{ persistentVolumeReclaimPolicy }}
---
{% endfor %}