main.yaml 1.6 KB

1234567891011121314151617181920212223242526272829303132
  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_service_account_config:
  22. apiVersion: v1
  23. kind: ServiceAccount
  24. metadata:
  25. name: nuage
  26. nuage_tasks:
  27. - policy add-cluster-role-to-user cluster-reader {{ nuage_service_account }}