main.yml 898 B

12345678910111213141516171819
  1. ---
  2. - name: Set builddefaults
  3. openshift_facts:
  4. role: builddefaults
  5. # TODO: add ability to define builddefaults env vars sort of like this
  6. # may need to move the config generation to a filter however.
  7. local_facts:
  8. http_proxy: "{{ openshift_builddefaults_http_proxy | default(None) }}"
  9. https_proxy: "{{ openshift_builddefaults_https_proxy | default(None) }}"
  10. no_proxy: "{{ openshift_builddefaults_no_proxy | default(None) }}"
  11. git_http_proxy: "{{ openshift_builddefaults_git_http_proxy | default(None) }}"
  12. git_https_proxy: "{{ openshift_builddefaults_git_https_proxy | default(None) }}"
  13. git_no_proxy: "{{ openshift_builddefaults_git_no_proxy | default(None) }}"
  14. - name: Set builddefaults config structure
  15. openshift_facts:
  16. role: builddefaults
  17. local_facts:
  18. config: "{{ openshift_builddefaults_json | default(builddefaults_yaml) }}"