aboutsummaryrefslogtreecommitdiffstats
path: root/benchmarks/playbooks/git_proxy_pbook.yaml
diff options
context:
space:
mode:
authorNauman Ahad <nauman.ahad@xflowresearch.com>2016-06-01 18:44:39 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-06-01 18:44:39 +0000
commit6a75ef2591b93d05c96a9aace7266dcf952fa495 (patch)
tree911167262797ba3bd23b5fba60e57295a2a48424 /benchmarks/playbooks/git_proxy_pbook.yaml
parent052df6190466f5b9f2722fa1885cf08f6da1e629 (diff)
parent1dd916e557d60a05dcedc0e741ab7cbb94f85c64 (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.yaml12
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
+