Update 'install_kubetools.yml'

master
alecsandru 9 months ago
parent 7b85aca583
commit f0884f0d30
  1. 18
      install_kubetools.yml

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

Loading…
Cancel
Save