diff --git a/roles/kubernetes/tasks/main.yml b/roles/kubernetes/tasks/main.yml index be19e0b..9aaa28c 100644 --- a/roles/kubernetes/tasks/main.yml +++ b/roles/kubernetes/tasks/main.yml @@ -1,4 +1,11 @@ --- +- name: clear yum package cache + shell: "{{ item }}" + args: + warn: false + with_items: + - yum clean all + - yum makecache - name: upgrade all packages yum: @@ -71,7 +78,7 @@ - name: clear yum package cache shell: yum clean all args: - warn: false # https://github.com/ansible/ansible/pull/31450#issuecomment-352889579 + warn: false - name: install packages package: