config.yml 1.2 KB

123456789101112131415161718192021222324252627282930
  1. ---
  2. # TODO: fix firewall related bug with GCE and origin, since GCE is overriding
  3. # /etc/sysconfig/iptables
  4. - hosts: localhost
  5. gather_facts: no
  6. vars_files:
  7. - vars.yml
  8. tasks:
  9. - set_fact:
  10. g_ssh_user_tmp: "{{ deployment_vars[deployment_type].ssh_user }}"
  11. g_sudo_tmp: "{{ deployment_vars[deployment_type].sudo }}"
  12. use_sdn: "{{ do_we_use_openshift_sdn }}"
  13. sdn_plugin: "{{ sdn_network_plugin }}"
  14. - include: ../../common/openshift-cluster/config.yml
  15. vars:
  16. g_etcd_group: "{{ 'tag_env-host-type-' ~ cluster_id ~ '-openshift-etcd' }}"
  17. g_lb_group: "{{ 'tag_env-host-type-' ~ cluster_id ~ '-openshift-lb' }}"
  18. g_masters_group: "{{ 'tag_env-host-type-' ~ cluster_id ~ '-openshift-master' }}"
  19. g_nodes_group: "{{ 'tag_env-host-type-' ~ cluster_id ~ '-openshift-node' }}"
  20. g_ssh_user: "{{ hostvars.localhost.g_ssh_user_tmp }}"
  21. g_sudo: "{{ hostvars.localhost.g_sudo_tmp }}"
  22. g_nodeonmaster: true
  23. openshift_cluster_id: "{{ cluster_id }}"
  24. openshift_debug_level: 2
  25. openshift_deployment_type: "{{ deployment_type }}"
  26. openshift_hostname: "{{ gce_private_ip }}"
  27. openshift_use_openshift_sdn: "{{ hostvars.localhost.use_sdn }}"
  28. os_sdn_network_plugin_name: "{{ hostvars.localhost.sdn_plugin }}"