diff --git a/roles/kubernetes/preinstall/vars/main.yml b/roles/kubernetes/preinstall/vars/main.yml index 00285b8a7..699a87de5 100644 --- a/roles/kubernetes/preinstall/vars/main.yml +++ b/roles/kubernetes/preinstall/vars/main.yml @@ -11,19 +11,21 @@ pkgs: bash-completion: [] conntrack: - "{{ ansible_os_family in ['Debian', 'RedHat'] }}" + - "{{ ansible_distribution != 'openEuler' }}" - "{{ 'k8s_cluster' in group_names }}" conntrack-tools: - - "{{ ansible_os_family == 'Suse' or ansible_distribution == 'Amazon' }}" + - "{{ ansible_os_family == 'Suse' or ansible_distribution in ['Amazon', 'openEuler'] }}" - "{{ 'k8s_cluster' in group_names }}" container-selinux: - "{{ ansible_os_family == 'RedHat' }}" - "{{ 'k8s_cluster' in group_names }}" curl: [] device-mapper: - - "{{ ansible_os_family == 'Suse' }}" + - "{{ ansible_os_family == 'Suse' or ansible_distribution == 'openEuler' }}" - "{{ 'k8s_cluster' in group_names }}" device-mapper-libs: - "{{ ansible_os_family == 'RedHat' }}" + - "{{ ansible_distribution != 'openEuler' }}" e2fsprogs: [] ebtables: [] gnupg: