ansible playbook bugfix 35/20735/4
authorwu.zhihui <wu.zhihui1@zte.com.cn>
Fri, 9 Sep 2016 05:16:09 +0000 (13:16 +0800)
committerzhihui wu <wu.zhihui1@zte.com.cn>
Sun, 11 Sep 2016 04:01:38 +0000 (04:01 +0000)
commit43501355cf6974ee9ee36ca22c1113d80acffc7d
tree2236e14f13b2afd990aa26e0dd24d55052bed377
parent3a987ca748287d250d7975a853222917f001469a
ansible playbook bugfix

According the qtip ci results, make these bugfixs.
1. skipping: no hosts matched
   This used to work in Ansible 1.9.x with 127.0.0.1;But does not work in Asible 2.x
   solved: add 127.0.0.1 as localhost in ./data/hosts
2. Using bare variables is deprecated.
   solved: update playbook
3. use git module
4. To save time, turning Off Facts on localhost.

Since https://gerrit.opnfv.org/gerrit/#/c/20661/ is under codereview,
for qtip ci job, I temporarily modify function write_to_file() in
env_setup.py.

Change-Id: I71a08ebf87cd8c8d851a3f8f760e29e8725f0e0f
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
14 files changed:
benchmarks/playbooks/cachebench.yaml
benchmarks/playbooks/dhrystone.yaml
benchmarks/playbooks/dpi.yaml
benchmarks/playbooks/fio.yaml
benchmarks/playbooks/git_proxy_pbook.yaml
benchmarks/playbooks/iperf.yaml
benchmarks/playbooks/netperf.yaml
benchmarks/playbooks/pktgen.yaml
benchmarks/playbooks/ramspeed.yaml
benchmarks/playbooks/ssl.yaml
benchmarks/playbooks/sys_info_pbook.yaml
benchmarks/playbooks/whetstone.yaml
func/env_setup.py
tests/output/hosts