From 43501355cf6974ee9ee36ca22c1113d80acffc7d Mon Sep 17 00:00:00 2001 From: "wu.zhihui" Date: Fri, 9 Sep 2016 13:16:09 +0800 Subject: 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 --- tests/output/hosts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/output') diff --git a/tests/output/hosts b/tests/output/hosts index 9b47df0e..b380e475 100644 --- a/tests/output/hosts +++ b/tests/output/hosts @@ -1,3 +1,5 @@ [host] 10.20.0.29 10.20.0.28 +[localhost] +127.0.0.1 -- cgit 1.2.3-korg