Add ansible.cfg so that we can get ansible running time 79/20279/2
authorzhifeng.jiang <jiang.zhifeng@zte.com.cn>
Sat, 3 Sep 2016 22:50:20 +0000 (06:50 +0800)
committerzhifeng.jiang <jiang.zhifeng@zte.com.cn>
Tue, 6 Sep 2016 00:53:12 +0000 (08:53 +0800)
JIRA:QTIP-99

Change-Id: If42ddfd4337533b63dff3909c880a7e7b8e0fc58
Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
docker/Dockerfile
docker/ansible.cfg.default [new file with mode: 0644]

index 9ed0980..8ec775e 100644 (file)
@@ -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 (file)
index 0000000..0451870
--- /dev/null
@@ -0,0 +1,2 @@
+[defaults]
+callback_whitelist = profile_tasks