aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYujun Zhang <zhang.yujunz@zte.com.cn>2016-09-07 06:40:52 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-09-07 06:40:52 +0000
commit84d204b3a1e68238105f9fe6cd9b02591dde6ca6 (patch)
treebb228871d31fade710d26108b72fa19f1667b22b
parent4d887ff5e306d4814c8a8cbbe4490d4bb6e718a2 (diff)
parent916539347578fbf259c0638eb1c3e8ac653d857b (diff)
Merge "Add ansible.cfg so that we can get ansible running time"
-rw-r--r--docker/Dockerfile3
-rw-r--r--docker/ansible.cfg.default2
2 files changed, 5 insertions, 0 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 9ed0980e..8ec775eb 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -45,6 +45,9 @@ RUN mkdir -p ${REPOS_DIR}
RUN mkdir -p /root/.ssh
RUN chmod 700 /root/.ssh
+#Config ansible
+COPY ansible.cfg.default /root/.ansible.cfg
+
#Cloning Repos
RUN git config --global http.sslVerify false
diff --git a/docker/ansible.cfg.default b/docker/ansible.cfg.default
new file mode 100644
index 00000000..0451870a
--- /dev/null
+++ b/docker/ansible.cfg.default
@@ -0,0 +1,2 @@
+[defaults]
+callback_whitelist = profile_tasks