reorg
This commit is contained in:
@@ -36,11 +36,14 @@ K8S installation:
|
||||
|
||||
{% elif grains['os'] == 'CentOS' %}
|
||||
Configure SeLinux:
|
||||
cmd.run:
|
||||
- name: "setenforce 0;sed -i 's/^SELINUX=enforcing$/SELINUX=permissive/' /etc/selinux/config"
|
||||
file.line:
|
||||
- name: /etc/selinux/config
|
||||
- mode: replace
|
||||
- match: '^SELINUX=enforcing$'
|
||||
- content: "SELINUX=permissive"
|
||||
|
||||
pkg.install:
|
||||
cmd.run:
|
||||
- name: 'yum install -y kubelet kubeadm kubectl --disableexcludes=kubernetes && systemctl enable kubelet && systemctl start kubelet'
|
||||
- name: 'setenforce 0;yum install -y kubelet kubeadm kubectl --disableexcludes=kubernetes;systemctl enable kubelet && systemctl start kubelet'
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
Reference in New Issue
Block a user