Browse Source

Fix openEuler packages

conntrack -> conntrack-tools
device-mapper-libs -> device-mapper
pull/11688/head
Max Gautier 2 weeks ago
parent
commit
e1392c65b4
Failed to extract signature
1 changed files with 4 additions and 2 deletions
  1. 6
      roles/kubernetes/preinstall/vars/main.yml

6
roles/kubernetes/preinstall/vars/main.yml

@ -11,19 +11,21 @@ pkgs:
bash-completion: [] bash-completion: []
conntrack: conntrack:
- "{{ ansible_os_family in ['Debian', 'RedHat'] }}" - "{{ ansible_os_family in ['Debian', 'RedHat'] }}"
- "{{ ansible_distribution != 'openEuler' }}"
- "{{ 'k8s_cluster' in group_names }}" - "{{ 'k8s_cluster' in group_names }}"
conntrack-tools: 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 }}" - "{{ 'k8s_cluster' in group_names }}"
container-selinux: container-selinux:
- "{{ ansible_os_family == 'RedHat' }}" - "{{ ansible_os_family == 'RedHat' }}"
- "{{ 'k8s_cluster' in group_names }}" - "{{ 'k8s_cluster' in group_names }}"
curl: [] curl: []
device-mapper: device-mapper:
- "{{ ansible_os_family == 'Suse' }}"
- "{{ ansible_os_family == 'Suse' or ansible_distribution == 'openEuler' }}"
- "{{ 'k8s_cluster' in group_names }}" - "{{ 'k8s_cluster' in group_names }}"
device-mapper-libs: device-mapper-libs:
- "{{ ansible_os_family == 'RedHat' }}" - "{{ ansible_os_family == 'RedHat' }}"
- "{{ ansible_distribution != 'openEuler' }}"
e2fsprogs: [] e2fsprogs: []
ebtables: [] ebtables: []
gnupg: gnupg:

Loading…
Cancel
Save