move the update cache after role of setup-k8s-network 65/52965/1
authorwutianwei <wutianwei1@huawei.com>
Fri, 2 Mar 2018 03:55:27 +0000 (11:55 +0800)
committerwutianwei <wutianwei1@huawei.com>
Fri, 2 Mar 2018 03:55:27 +0000 (11:55 +0800)
commit33d470951351c0a56409400593bc363d7de765cc
tree629653fd82f32a98f7fdbb78fa451eb8094d063f
parentd9c78464420c0e40beeca60e982d6f86f96509af
move the update cache after role of setup-k8s-network

If don't setup network, the host cannot connect to the Internet on baremetal pod.
So we should update cache after setting the network.

Change-Id: Ief0eb2d82c67b0ace2cfb233b9792f6e009a1524
Signed-off-by: wutianwei <wutianwei1@huawei.com>
deploy/adapters/ansible/kubernetes/roles/install-k8s-dependence/tasks/main.yml
deploy/adapters/ansible/kubernetes/roles/pre-k8s/tasks/Ubuntu.yml