Update 'install_kubetools.yml'

This commit is contained in:
2024-05-04 08:50:15 +00:00
parent ea10e4c3fb
commit 7b85aca583

View File

@@ -6,7 +6,7 @@
tasks: tasks:
- name: Install apt tools and accesories - name: Install apt tools and accesories
package: package:
name: {{ item }} name: "{{ item }}"
state: present state: present
with_items: with_items:
- "apt-transport-https" - "apt-transport-https"
@@ -33,7 +33,7 @@
update_cache: yes update_cache: yes
- name: Setup tools - name: Setup tools
package: package:
name: {{ item }} name: "{{ item }}"
state: present state: present
with_items: with_items:
- "kubelet" - "kubelet"
@@ -41,7 +41,7 @@
- "kubectl" - "kubectl"
- name: Hold packages - name: Hold packages
dpkg_selections: dpkg_selections:
name: {{ item }} name: "{{ item }}"
selection: hold selection: hold
with_items: with_items:
- "kubelet" - "kubelet"