mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-28 09:39:12 +03:00
Added Amazon Linux 2 support for deploying with docker (#5301)
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
db5040e6ea
commit
4f70da2731
@@ -3,7 +3,9 @@
|
||||
- name: Confirm selinux deployed
|
||||
stat:
|
||||
path: /etc/selinux/config
|
||||
when: ansible_os_family == "RedHat"
|
||||
when:
|
||||
- ansible_os_family == "RedHat"
|
||||
- "'Amazon' not in ansible_distribution"
|
||||
register: slc
|
||||
|
||||
- name: Set selinux policy
|
||||
@@ -12,6 +14,7 @@
|
||||
state: "{{ preinstall_selinux_state }}"
|
||||
when:
|
||||
- ansible_os_family == "RedHat"
|
||||
- "'Amazon' not in ansible_distribution"
|
||||
- slc.stat.exists
|
||||
changed_when: False
|
||||
tags:
|
||||
|
||||
Reference in New Issue
Block a user