aboutsummaryrefslogtreecommitdiffstats
path: root/benchmarks/playbooks/git_proxy_pbook.yaml
diff options
context:
space:
mode:
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
+