---
- include: ../../common/openshift-cluster/config.yml
  vars_files:
  - ../../aws/openshift-cluster/vars.yml
  - ../../aws/openshift-cluster/cluster_hosts.yml
  vars:
    g_ssh_user:     "{{ deployment_vars[deployment_type].ssh_user }}"
    g_sudo:         "{{ deployment_vars[deployment_type].sudo }}"
    g_nodeonmaster: true
    openshift_cluster_id: "{{ cluster_id }}"
    openshift_debug_level: "{{ debug_level }}"
    openshift_deployment_type: "{{ deployment_type }}"
    openshift_hostname: "{{ ec2_private_ip_address }}"
    openshift_public_hostname: "{{ ec2_ip_address }}"
    openshift_router_selector: 'type=infra'
    openshift_infra_nodes: "{{ g_infra_hosts }}"

- include: ../../common/openshift-cluster/config.yml
  vars_files:
  - ../../aws/openshift-cluster/vars.yml
  - ../../aws/openshift-cluster/cluster_hosts.yml
  vars:
    g_ssh_user:     "{{ deployment_vars[deployment_type].ssh_user }}"
    g_sudo:         "{{ deployment_vars[deployment_type].sudo }}"
    g_nodeonmaster: true
    openshift_cluster_id: "{{ cluster_id }}"
    openshift_debug_level: "{{ debug_level }}"
    openshift_deployment_type: "{{ deployment_type }}"
    openshift_hostname: "{{ ec2_private_ip_address }}"
    openshift_public_hostname: "{{ ec2_ip_address }}"
    openshift_router_selector: 'type=infra'
    openshift_infra_nodes: "{{ g_infra_hosts }}"
    openshift_node_labels: '{"region": "{{ ec2_region }}", "type": "{{ hostvars[inventory_hostname]["ec2_tag_sub-host-type"] if inventory_hostname in groups["tag_host-type_node"] else hostvars[inventory_hostname]["ec2_tag_host-type"] }}"}'

Fix node tags for aws provider
Fix node tags for aws provider
