diff options
author | Brenton Leanhardt <bleanhar@redhat.com> | 2016-04-25 16:15:56 -0400 |
---|---|---|
committer | Brenton Leanhardt <bleanhar@redhat.com> | 2016-04-25 16:15:56 -0400 |
commit | 7cf2ef446cde3f54d4c7095aba20e594c5747630 (patch) | |
tree | 64e983078a369637ea18c3be10ac1115bfa4ca8c /roles/openshift_builddefaults/tasks | |
parent | 407dd1d28f06a3b66c2eeaa05a81279c7704779d (diff) | |
parent | 3262718f8fc4658a3b223823244f1f78cb0eb6c8 (diff) | |
download | openshift-7cf2ef446cde3f54d4c7095aba20e594c5747630.tar.gz openshift-7cf2ef446cde3f54d4c7095aba20e594c5747630.tar.bz2 openshift-7cf2ef446cde3f54d4c7095aba20e594c5747630.tar.xz openshift-7cf2ef446cde3f54d4c7095aba20e594c5747630.zip |
Merge branch 'master' into evac
Diffstat (limited to 'roles/openshift_builddefaults/tasks')
-rw-r--r-- | roles/openshift_builddefaults/tasks/main.yml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/roles/openshift_builddefaults/tasks/main.yml b/roles/openshift_builddefaults/tasks/main.yml new file mode 100644 index 000000000..c82aebe72 --- /dev/null +++ b/roles/openshift_builddefaults/tasks/main.yml @@ -0,0 +1,24 @@ +--- +- name: Set builddefaults + openshift_facts: + role: builddefaults + # TODO: add ability to define builddefaults env vars sort of like this + # may need to move the config generation to a filter however. + # openshift_env: "{{ hostvars[inventory_hostname] + # | oo_merge_dicts(hostvars) + # | oo_openshift_env }}" + # openshift_env_structures: + # - 'openshift.builddefaults.env.*' + local_facts: + http_proxy: "{{ openshift_builddefaults_http_proxy | default(None) }}" + https_proxy: "{{ openshift_builddefaults_https_proxy | default(None) }}" + no_proxy: "{{ openshift_builddefaults_no_proxy | default(None) }}" + git_http_proxy: "{{ openshift_builddefaults_git_http_proxy | default(None) }}" + git_https_proxy: "{{ openshift_builddefaults_git_https_proxy | default(None) }}" + +- name: Set builddefaults config structure + openshift_facts: + role: builddefaults + local_facts: + config: "{{ openshift_builddefaults_json | default(builddefaults_yaml) }}" + |