main.yml 938 B

123456789101112131415161718192021
  1. ---
  2. builddefaults_yaml:
  3. BuildDefaults:
  4. configuration:
  5. apiVersion: v1
  6. kind: BuildDefaultsConfig
  7. gitHTTPProxy: "{{ openshift.builddefaults.git_http_proxy | default('', true) }}"
  8. gitHTTPSProxy: "{{ openshift.builddefaults.git_https_proxy | default('', true) }}"
  9. env:
  10. - name: HTTP_PROXY
  11. value: "{{ openshift.builddefaults.http_proxy | default('', true) }}"
  12. - name: HTTPS_PROXY
  13. value: "{{ openshift.builddefaults.https_proxy | default('', true) }}"
  14. - name: NO_PROXY
  15. value: "{{ openshift.builddefaults.no_proxy | default('', true) | join(',') }}"
  16. - name: http_proxy
  17. value: "{{ openshift.builddefaults.http_proxy | default('', true) }}"
  18. - name: https_proxy
  19. value: "{{ openshift.builddefaults.https_proxy | default('', true) }}"
  20. - name: no_proxy
  21. value: "{{ openshift.builddefaults.no_proxy | default('', true) | join(',') }}"