config.yml 1.2 KB

123456789101112131415161718192021
  1. - include: ../../common/openshift-cluster/config.yml
  2. vars_files:
  3. - ../../aws/openshift-cluster/vars.yml
  4. - ../../aws/openshift-cluster/cluster_hosts.yml
  5. vars:
  6. g_ssh_user: "{{ deployment_vars[deployment_type].ssh_user }}"
  7. g_sudo: "{{ deployment_vars[deployment_type].sudo }}"
  8. g_nodeonmaster: true
  9. openshift_cluster_id: "{{ cluster_id }}"
  10. openshift_debug_level: "{{ debug_level }}"
  11. openshift_deployment_type: "{{ deployment_type }}"
  12. openshift_public_hostname: "{{ ec2_ip_address }}"
  13. openshift_registry_selector: 'type=infra'
  14. openshift_router_selector: 'type=infra'
  15. openshift_infra_nodes: "{{ g_infra_hosts }}"
  16. 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"] }}"}'
  17. openshift_master_cluster_method: 'native'
  18. openshift_use_openshift_sdn: "{{ lookup('oo_option', 'use_openshift_sdn') }}"
  19. os_sdn_network_plugin_name: "{{ lookup('oo_option', 'sdn_network_plugin_name') }}"
  20. openshift_use_flannel: "{{ lookup('oo_option', 'use_flannel') }}"
  21. openshift_use_fluentd: "{{ lookup('oo_option', 'use_fluentd') }}"