Update 'install_kubetools.yml'

master
alecsandru 9 months ago
parent 6a4865d5d5
commit ea10e4c3fb
  1. 18
      install_kubetools.yml

@ -9,10 +9,10 @@
name: {{ item }}
state: present
with_items:
- apt-transport-https
- ca-certificates
- curl
- gpg
- "apt-transport-https"
- "ca-certificates"
- "curl"
- "gpg"
- name: Creates keyrings directory
file:
path: /etc/apt/keyrings
@ -36,16 +36,16 @@
name: {{ item }}
state: present
with_items:
- kubelet
- kubeadm
- kubectl
- "kubelet"
- "kubeadm"
- "kubectl"
- name: Hold packages
dpkg_selections:
name: {{ item }}
selection: hold
with_items:
- kubelet
- kubeadm
- "kubelet"
- "kubeadm"
- name: Start kubelet
service:
name: kubelet

Loading…
Cancel
Save