summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzhifeng.jiang <jiang.zhifeng@zte.com.cn>2016-09-04 06:50:20 +0800
committerzhifeng.jiang <jiang.zhifeng@zte.com.cn>2016-09-06 08:53:12 +0800
commit916539347578fbf259c0638eb1c3e8ac653d857b (patch)
tree6c03602e9f2d96b2cede216ce3e27f6de2886781
parent222ebcd6c81c46420d861733b26068cb59fcebdc (diff)
Add ansible.cfg so that we can get ansible running time
JIRA:QTIP-99 Change-Id: If42ddfd4337533b63dff3909c880a7e7b8e0fc58 Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
-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