From bf14a70c09be362b13b16054174c16e43da9e2d2 Mon Sep 17 00:00:00 2001 From: wutianwei Date: Fri, 7 Jul 2017 12:09:27 +0800 Subject: Fix bug the controller node when baremetal deploy We need to flush the handle to restart network, before checking network. improve the message when failed Change-Id: If38198c62b4bf81d38b294264db30514998fe086 Signed-off-by: wutianwei --- deploy/adapters/ansible/roles/setup-openstack/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'deploy/adapters/ansible/roles/setup-openstack/tasks') diff --git a/deploy/adapters/ansible/roles/setup-openstack/tasks/main.yml b/deploy/adapters/ansible/roles/setup-openstack/tasks/main.yml index e5770245..b71612f7 100644 --- a/deploy/adapters/ansible/roles/setup-openstack/tasks/main.yml +++ b/deploy/adapters/ansible/roles/setup-openstack/tasks/main.yml @@ -19,7 +19,7 @@ register: setup_openstack_result - fail: - msg: "some task failed when setup host." + msg: "some task failed when setup openstack." when: setup_openstack_result.stdout.find('failed=1') != -1 - fail: -- cgit