Update 'install_kubetools.yml'

This commit is contained in:
2024-05-04 08:52:10 +00:00
parent 7b85aca583
commit f0884f0d30

View File

@@ -8,11 +8,11 @@
package:
name: "{{ item }}"
state: present
with_items:
- "apt-transport-https"
- "ca-certificates"
- "curl"
- "gpg"
with_items:
- "apt-transport-https"
- "ca-certificates"
- "curl"
- "gpg"
- name: Creates keyrings directory
file:
path: /etc/apt/keyrings
@@ -35,10 +35,10 @@
package:
name: "{{ item }}"
state: present
with_items:
- "kubelet"
- "kubeadm"
- "kubectl"
with_items:
- "kubelet"
- "kubeadm"
- "kubectl"
- name: Hold packages
dpkg_selections:
name: "{{ item }}"