mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-17 23:57:49 +00:00
Set SELinux permissive to allow DNS to work
This commit is contained in:
parent
8cf36d7402
commit
97b88fa563
@ -1,4 +1,13 @@
|
|||||||
---
|
---
|
||||||
|
- name: Check if selinux enforcing
|
||||||
|
command: getenforce
|
||||||
|
register: selinux
|
||||||
|
changed_when: false
|
||||||
|
|
||||||
|
- name: Set selinux permissive because tokens and selinux don't work together
|
||||||
|
selinux: state=permissive policy=targeted
|
||||||
|
when: "'Enforcing' in selinux.stdout"
|
||||||
|
|
||||||
- include: generic-install.yml
|
- include: generic-install.yml
|
||||||
when: not is_atomic and not ansible_distribution == "CentOS"
|
when: not is_atomic and not ansible_distribution == "CentOS"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user