main.yml 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. ---
  2. - name: Set master facts
  3. openshift_facts:
  4. role: master
  5. local_facts:
  6. cluster_method: "{{ openshift_master_cluster_method | default(None) }}"
  7. cluster_hostname: "{{ openshift_master_cluster_hostname | default(None) }}"
  8. cluster_public_hostname: "{{ openshift_master_cluster_public_hostname | default(None) }}"
  9. debug_level: "{{ openshift_master_debug_level | default(openshift.common.debug_level) }}"
  10. api_port: "{{ openshift_master_api_port | default(None) }}"
  11. api_url: "{{ openshift_master_api_url | default(None) }}"
  12. api_use_ssl: "{{ openshift_master_api_use_ssl | default(None) }}"
  13. public_api_url: "{{ openshift_master_public_api_url | default(None) }}"
  14. console_path: "{{ openshift_master_console_path | default(None) }}"
  15. console_port: "{{ openshift_master_console_port | default(None) }}"
  16. console_url: "{{ openshift_master_console_url | default(None) }}"
  17. console_use_ssl: "{{ openshift_master_console_use_ssl | default(None) }}"
  18. public_console_url: "{{ openshift_master_public_console_url | default(None) }}"
  19. logging_public_url: "{{ openshift_master_logging_public_url | default(None) }}"
  20. metrics_public_url: "{{ openshift_master_metrics_public_url | default(None) }}"
  21. logout_url: "{{ openshift_master_logout_url | default(None) }}"
  22. extension_scripts: "{{ openshift_master_extension_scripts | default(None) }}"
  23. extension_stylesheets: "{{ openshift_master_extension_stylesheets | default(None) }}"
  24. extensions: "{{ openshift_master_extensions | default(None) }}"
  25. etcd_hosts: "{{ openshift_master_etcd_hosts | default(None) }}"
  26. etcd_port: "{{ openshift_master_etcd_port | default(None) }}"
  27. etcd_use_ssl: "{{ openshift_master_etcd_use_ssl | default(None) }}"
  28. etcd_urls: "{{ openshift_master_etcd_urls | default(None) }}"
  29. embedded_etcd: "{{ openshift_master_embedded_etcd | default(None) }}"
  30. embedded_kube: "{{ openshift_master_embedded_kube | default(None) }}"
  31. embedded_dns: "{{ openshift_master_embedded_dns | default(None) }}"
  32. # defaults to 8053 when using dnsmasq in 1.2/3.2
  33. dns_port: "{{ openshift_master_dns_port | default(None) }}"
  34. bind_addr: "{{ openshift_master_bind_addr | default(None) }}"
  35. pod_eviction_timeout: "{{ openshift_master_pod_eviction_timeout | default(None) }}"
  36. session_max_seconds: "{{ openshift_master_session_max_seconds | default(None) }}"
  37. session_name: "{{ openshift_master_session_name | default(None) }}"
  38. session_secrets_file: "{{ openshift_master_session_secrets_file | default(None) }}"
  39. session_auth_secrets: "{{ openshift_master_session_auth_secrets | default(None) }}"
  40. session_encryption_secrets: "{{ openshift_master_session_encryption_secrets | default(None) }}"
  41. access_token_max_seconds: "{{ openshift_master_access_token_max_seconds | default(None) }}"
  42. auth_token_max_seconds: "{{ openshift_master_auth_token_max_seconds | default(None) }}"
  43. identity_providers: "{{ openshift_master_identity_providers | default(None) }}"
  44. htpasswd_users: "{{ openshift_master_htpasswd_users | default(lookup('file', openshift_master_htpasswd_file) | oo_htpasswd_users_from_file if openshift_master_htpasswd_file is defined else None) }}"
  45. manage_htpasswd: "{{ openshift_master_manage_htpasswd | default(true) }}"
  46. ldap_ca: "{{ openshift_master_ldap_ca | default(lookup('file', openshift_master_ldap_ca_file) if openshift_master_ldap_ca_file is defined else None) }}"
  47. openid_ca: "{{ openshift_master_openid_ca | default(lookup('file', openshift_master_openid_ca_file) if openshift_master_openid_ca_file is defined else None) }}"
  48. request_header_ca: "{{ openshift_master_request_header_ca | default(lookup('file', openshift_master_request_header_ca_file) if openshift_master_request_header_ca_file is defined else None) }}"
  49. registry_url: "{{ oreg_url | default(None) }}"
  50. oauth_grant_method: "{{ openshift_master_oauth_grant_method | default(None) }}"
  51. sdn_cluster_network_cidr: "{{ osm_cluster_network_cidr | default(None) }}"
  52. sdn_host_subnet_length: "{{ osm_host_subnet_length | default(None) }}"
  53. default_subdomain: "{{ openshift_master_default_subdomain | default(osm_default_subdomain | default(None), true) }}"
  54. custom_cors_origins: "{{ osm_custom_cors_origins | default(None) }}"
  55. default_node_selector: "{{ osm_default_node_selector | default(None) }}"
  56. project_request_message: "{{ osm_project_request_message | default(None) }}"
  57. project_request_template: "{{ osm_project_request_template | default(None) }}"
  58. mcs_allocator_range: "{{ osm_mcs_allocator_range | default(None) }}"
  59. mcs_labels_per_project: "{{ osm_mcs_labels_per_project | default(None) }}"
  60. uid_allocator_range: "{{ osm_uid_allocator_range | default(None) }}"
  61. registry_selector: "{{ openshift_registry_selector | default(None) }}"
  62. api_server_args: "{{ osm_api_server_args | default(None) }}"
  63. controller_args: "{{ osm_controller_args | default(None) }}"
  64. disabled_features: "{{ osm_disabled_features | default(None) }}"
  65. master_count: "{{ openshift_master_count | default(None) }}"
  66. controller_lease_ttl: "{{ osm_controller_lease_ttl | default(None) }}"
  67. master_image: "{{ osm_image | default(None) }}"
  68. scheduler_predicates: "{{ openshift_master_scheduler_predicates | default(None) }}"
  69. scheduler_priorities: "{{ openshift_master_scheduler_priorities | default(None) }}"
  70. admission_plugin_order: "{{openshift_master_admission_plugin_order | default(None) }}"
  71. admission_plugin_config: "{{openshift_master_admission_plugin_config | default(None) }}"
  72. kube_admission_plugin_order: "{{openshift_master_kube_admission_plugin_order | default(None) }}"
  73. kube_admission_plugin_config: "{{openshift_master_kube_admission_plugin_config | default(None) }}"
  74. oauth_template: "{{ openshift_master_oauth_template | default(None) }}" # deprecated in origin 1.2 / OSE 3.2
  75. oauth_templates: "{{ openshift_master_oauth_templates | default(None) }}"
  76. oauth_always_show_provider_selection: "{{ openshift_master_oauth_always_show_provider_selection | default(None) }}"
  77. image_policy_config: "{{ openshift_master_image_policy_config | default(None) }}"
  78. dynamic_provisioning_enabled: "{{ openshift_master_dynamic_provisioning_enabled | default(None) }}"
  79. max_requests_inflight: "{{ openshift_master_max_requests_inflight | default(None) }}"
  80. api_env_vars: "{{ openshift_master_api_env_vars | default(None) }}"
  81. controllers_env_vars: "{{ openshift_master_controllers_env_vars | default(None) }}"