aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/kubernetes/roles/pre-k8s/tasks
diff options
context:
space:
mode:
authorwutianwei <wutianwei1@huawei.com>2018-03-02 11:55:27 +0800
committerwutianwei <wutianwei1@huawei.com>2018-03-02 11:55:27 +0800
commit33d470951351c0a56409400593bc363d7de765cc (patch)
tree629653fd82f32a98f7fdbb78fa451eb8094d063f /deploy/adapters/ansible/kubernetes/roles/pre-k8s/tasks
parentd9c78464420c0e40beeca60e982d6f86f96509af (diff)
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>
Diffstat (limited to 'deploy/adapters/ansible/kubernetes/roles/pre-k8s/tasks')
-rw-r--r--deploy/adapters/ansible/kubernetes/roles/pre-k8s/tasks/Ubuntu.yml3
1 files changed, 0 insertions, 3 deletions
diff --git a/deploy/adapters/ansible/kubernetes/roles/pre-k8s/tasks/Ubuntu.yml b/deploy/adapters/ansible/kubernetes/roles/pre-k8s/tasks/Ubuntu.yml
index 8054267d..44e3b1f6 100644
--- a/deploy/adapters/ansible/kubernetes/roles/pre-k8s/tasks/Ubuntu.yml
+++ b/deploy/adapters/ansible/kubernetes/roles/pre-k8s/tasks/Ubuntu.yml
@@ -67,9 +67,6 @@
src: sources.list.official
dest: /etc/apt/sources.list
-- name: update apt cache
- apt: update_cache=yes
-
- name: restart ntp service
shell: "service ntp restart"