yumpkg
This commit is contained in:
@@ -27,10 +27,18 @@ Debian K8S Add Repo:
|
||||
{% endif %}
|
||||
|
||||
K8S installation:
|
||||
{% if grains['os'] == 'Debian' %}
|
||||
pkg.installed:
|
||||
- pkgs:
|
||||
- kubelet
|
||||
- kubeadm
|
||||
- kubectl
|
||||
|
||||
{% elif grains['os'] == 'CentOS' %}
|
||||
yumpkg.install:
|
||||
- disableexcludes: kubernetes
|
||||
- pkgs:
|
||||
- kubelet
|
||||
- kubeadm
|
||||
- kubectl
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
Reference in New Issue
Block a user