cleanup k8s ansible yaml (carry for https://github.com/jayonlau <jayonlau@gmail.com>)

Signed-off-by: Mike Brown <brownwm@us.ibm.com>
This commit is contained in:
jayonlau 2021-07-12 17:01:04 +08:00 committed by Mike Brown
parent a8ef1fc488
commit f6b7e07fd3

View File

@ -13,7 +13,7 @@
when: ansible_distribution == "Ubuntu"
- name: "Update the repository cache (Ubuntu)"
apt:
apt:
update_cache: yes
when: ansible_distribution == "Ubuntu"
@ -25,8 +25,8 @@
gpgcheck: yes
enabled: yes
repo_gpgcheck: yes
gpgkey:
- https://packages.cloud.google.com/yum/doc/yum-key.gpg
gpgkey:
- https://packages.cloud.google.com/yum/doc/yum-key.gpg
- https://packages.cloud.google.com/yum/doc/rpm-package-key.gpg
when: ansible_distribution == "CentOS"