main.yaml 1.6 KB

12345678910111213141516171819202122232425262728293031
  1. openshift_master_config_dir: "{{ openshift.common.config_base }}/master"
  2. openshift_master_ca_cert: "{{ openshift_master_config_dir }}/ca.crt"
  3. openshift_master_ca_key: "{{ openshift_master_config_dir }}/ca.key"
  4. openshift_master_ca_serial: "{{ openshift_master_config_dir }}/ca.serial.txt"
  5. ca_cert: "{{ openshift_master_config_dir }}/ca.crt"
  6. admin_config: "{{ openshift.common.config_base }}/master/admin.kubeconfig"
  7. cert_output_dir: /usr/share/nuage-openshift-monitor
  8. kube_config: /usr/share/nuage-openshift-monitor/nuage.kubeconfig
  9. kubemon_yaml: /usr/share/nuage-openshift-monitor/nuage-openshift-monitor.yaml
  10. master_config_yaml: "{{ openshift_master_config_dir }}/master-config.yaml"
  11. nuage_mon_rest_server_url: "0.0.0.0:{{ nuage_mon_rest_server_port }}"
  12. nuage_mon_rest_server_logdir: "{{ nuage_openshift_monitor_log_dir | default('/var/log/nuage-openshift-monitor') }}"
  13. nuage_mon_log_level: "{{ nuage_openshift_monitor_log_level | default('3') }}"
  14. nuage_mon_rest_server_crt_dir: "{{ nuage_ca_master_crt_dir }}/{{ ansible_nodename }}"
  15. nuage_ca_master_rest_server_key: "{{ nuage_mon_rest_server_crt_dir }}/nuageMonServer.key"
  16. nuage_ca_master_rest_server_crt: "{{ nuage_mon_rest_server_crt_dir }}/nuageMonServer.crt"
  17. nuage_mon_rest_server_host: "{{ openshift.master.cluster_hostname | default(openshift.common.hostname) }}"
  18. nuage_master_crt_dir : /usr/share/nuage-openshift-monitor
  19. nuage_service_account: system:serviceaccount:default:nuage
  20. nuage_service_account_config:
  21. apiVersion: v1
  22. kind: ServiceAccount
  23. metadata:
  24. name: nuage
  25. nuage_tasks:
  26. - policy add-cluster-role-to-user cluster-reader {{ nuage_service_account }}