config.yml 1.3 KB

1234567891011121314151617181920212223
  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].become }}"
  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_hosted_router_selector: 'type=infra'
  15. openshift_infra_nodes: "{{ g_infra_hosts }}"
  16. openshift_node_labels:
  17. region: "{{ deployment_vars[deployment_type].region }}"
  18. 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'] }}"
  19. openshift_master_cluster_method: 'native'
  20. openshift_use_openshift_sdn: "{{ lookup('oo_option', 'use_openshift_sdn') }}"
  21. os_sdn_network_plugin_name: "{{ lookup('oo_option', 'sdn_network_plugin_name') }}"
  22. openshift_use_flannel: "{{ lookup('oo_option', 'use_flannel') }}"
  23. openshift_use_fluentd: "{{ lookup('oo_option', 'use_fluentd') }}"