main.yml 1.2 KB

12345678910111213141516171819202122232425
  1. ---
  2. openshift_master_config_dir: "{{ openshift.common.config_base }}/master"
  3. openshift_master_config_file: "{{ openshift_master_config_dir }}/master-config.yaml"
  4. openshift_master_scheduler_conf: "{{ openshift_master_config_dir }}/scheduler.json"
  5. builddefaults_yaml:
  6. BuildDefaults:
  7. configuration:
  8. apiVersion: v1
  9. kind: BuildDefaultsConfig
  10. gitHTTPProxy: "{{ openshift.master.builddefaults_git_http_proxy | default(omit, true) }}"
  11. gitHTTPSProxy: "{{ openshift.master.builddefaults_git_https_proxy | default(omit, true) }}"
  12. env:
  13. - name: HTTP_PROXY
  14. value: "{{ openshift.master.builddefaults_http_proxy | default(omit, true) }}"
  15. - name: HTTPS_PROXY
  16. value: "{{ openshift.master.builddefaults_https_proxy | default(omit, true) }}"
  17. - name: NO_PROXY
  18. value: "{{ openshift.master.builddefaults_no_proxy | default(omit, true) | join(',') }}"
  19. - name: http_proxy
  20. value: "{{ openshift.master.builddefaults_http_proxy | default(omit, true) }}"
  21. - name: https_proxy
  22. value: "{{ openshift.master.builddefaults_https_proxy | default(omit, true) }}"
  23. - name: no_proxy
  24. value: "{{ openshift.master.builddefaults_no_proxy | default(omit, true) | join(',') }}"