main.yaml 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. ---
  2. openshift_master_config_dir: "{{ openshift.common.config_base }}/master"
  3. openshift_master_ca_cert: "{{ openshift_master_config_dir }}/ca.crt"
  4. openshift_master_ca_key: "{{ openshift_master_config_dir }}/ca.key"
  5. openshift_master_ca_serial: "{{ openshift_master_config_dir }}/ca.serial.txt"
  6. ca_cert: "{{ openshift_master_config_dir }}/ca.crt"
  7. admin_config: "{{ openshift.common.config_base }}/master/admin.kubeconfig"
  8. cert_output_dir: /usr/share/nuage-openshift-monitor
  9. kube_config: /usr/share/nuage-openshift-monitor/nuage.kubeconfig
  10. kubemon_yaml: /usr/share/nuage-openshift-monitor/nuage-openshift-monitor.yaml
  11. master_config_yaml: "{{ openshift_master_config_dir }}/master-config.yaml"
  12. nuage_mon_rest_server_url: "0.0.0.0:{{ nuage_mon_rest_server_port }}"
  13. nuage_mon_rest_server_logdir: "{{ nuage_openshift_monitor_log_dir | default('/var/log/nuage-openshift-monitor') }}"
  14. nuage_mon_log_level: "{{ nuage_openshift_monitor_log_level | default('3') }}"
  15. nuage_mon_rest_server_crt_dir: "{{ nuage_ca_master_crt_dir }}/{{ ansible_nodename }}"
  16. nuage_ca_master_rest_server_key: "{{ nuage_mon_rest_server_crt_dir }}/nuageMonServer.key"
  17. nuage_ca_master_rest_server_crt: "{{ nuage_mon_rest_server_crt_dir }}/nuageMonServer.crt"
  18. nuage_mon_rest_server_host: "{{ openshift.master.cluster_hostname | default(openshift.common.hostname) }}"
  19. nuage_master_crt_dir: /usr/share/nuage-openshift-monitor
  20. nuage_service_account: system:serviceaccount:default:nuage
  21. nuage_master_config_dsets_mount_dir: /usr/share/
  22. nuage_node_config_dsets_mount_dir: /usr/share/
  23. nuage_cni_bin_dsets_mount_dir: /opt/cni/bin
  24. nuage_cni_netconf_dsets_mount_dir: /etc/cni/net.d
  25. nuage_monitor_container_image_version: "{{ nuage_monitor_image_version | default('v5.1.1') }}"
  26. nuage_vrs_container_image_version: "{{ nuage_vrs_image_version | default('v5.1.1') }}"
  27. nuage_cni_container_image_version: "{{ nuage_cni_image_version | default('v5.1.1') }}"
  28. api_server_url: "{{ hostvars[groups.oo_first_master.0].openshift.master.api_url }}"
  29. nuage_vport_mtu: "{{ nuage_interface_mtu | default('1460') }}"
  30. master_host_type: "{{ master_base_host_type | default('is_rhel_server') }}"
  31. slave_host_type: "{{ slave_base_host_type | default('is_rhel_server') }}"
  32. nuage_tasks:
  33. - resource_kind: cluster-role
  34. resource_name: cluster-reader
  35. user: "{{ nuage_service_account }}"