diff options
author | Nauman Ahad <nauman.ahad@xflowresearch.com> | 2016-06-01 18:44:39 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.206> | 2016-06-01 18:44:39 +0000 |
commit | 6a75ef2591b93d05c96a9aace7266dcf952fa495 (patch) | |
tree | 911167262797ba3bd23b5fba60e57295a2a48424 /benchmarks/playbooks/git_proxy_pbook.yaml | |
parent | 052df6190466f5b9f2722fa1885cf08f6da1e629 (diff) | |
parent | 1dd916e557d60a05dcedc0e741ab7cbb94f85c64 (diff) |
Merge "Read the proxy info from testcase, and set it to hosts when dhrystone benchmarks test."
Diffstat (limited to 'benchmarks/playbooks/git_proxy_pbook.yaml')
-rw-r--r-- | benchmarks/playbooks/git_proxy_pbook.yaml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/benchmarks/playbooks/git_proxy_pbook.yaml b/benchmarks/playbooks/git_proxy_pbook.yaml new file mode 100644 index 00000000..6d155a76 --- /dev/null +++ b/benchmarks/playbooks/git_proxy_pbook.yaml @@ -0,0 +1,12 @@ + +#git +- name: set git proxy(http) + shell: "git config --global http.proxy {{ http_proxy }}" + when: http_proxy is defined + ignore_errors: yes + +- name: set git proxy(https) + shell: "git config --global https.proxy {{https_proxy}}" + when: https_proxy is defined + ignore_errors: yes + |