Failed to extract signature
10 changed files with 94 additions and 93 deletions
Split View
Diff Options
-
3roles/bootstrap-os/defaults/main.yml
-
5roles/bootstrap-os/tasks/main.yml
-
6roles/kubernetes/preinstall/defaults/main.yml
-
8roles/kubernetes/preinstall/tasks/main.yml
-
75roles/kubernetes/preinstall/vars/main.yml
-
3roles/kubespray-defaults/defaults/main/main.yml
-
4roles/system_packages/defaults/main.yml
-
6roles/system_packages/tasks/main.yml
-
75roles/system_packages/vars/main.yml
-
2scripts/assert-sorted-checksums.yml
@ -0,0 +1,4 @@ |
|||
--- |
|||
# number of times package install task should be retried |
|||
pkg_install_retries: 4 |
|||
yum_repo_dir: /etc/yum.repos.d |
@ -1,4 +1,10 @@ |
|||
--- |
|||
- name: Gather OS information |
|||
setup: |
|||
gather_subset: |
|||
- distribution |
|||
- pkg_mgr |
|||
|
|||
- name: Update package management cache (zypper) - SUSE |
|||
command: zypper -n --gpg-auto-import-keys ref |
|||
register: make_cache_output |
@ -0,0 +1,75 @@ |
|||
--- |
|||
pkgs: |
|||
apparmor: |
|||
- "{{ ansible_os_family == 'Debian' }}" |
|||
apt-transport-https: |
|||
- "{{ ansible_os_family == 'Debian' }}" |
|||
aufs-tools: |
|||
- "{{ ansible_os_family == 'Debian' }}" |
|||
- "{{ ansible_distribution_major_version == '10' }}" |
|||
- "{{ 'k8s_cluster' in group_names }}" |
|||
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 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' or ansible_distribution == 'openEuler' }}" |
|||
- "{{ 'k8s_cluster' in group_names }}" |
|||
device-mapper-libs: |
|||
- "{{ ansible_os_family == 'RedHat' }}" |
|||
- "{{ ansible_distribution != 'openEuler' }}" |
|||
e2fsprogs: [] |
|||
ebtables: [] |
|||
gnupg: |
|||
- "{{ ansible_distribution == 'Debian' }}" |
|||
- "{{ ansible_distribution_major_version in ['11', '12'] }}" |
|||
- "{{ 'k8s_cluster' in group_names }}" |
|||
ipset: |
|||
- "{{ kube_proxy_mode != 'ipvs' }}" |
|||
- "{{ 'k8s_cluster' in group_names }}" |
|||
iptables: |
|||
- "{{ ansible_os_family in ['Debian', 'RedHat'] }}" |
|||
ipvsadm: |
|||
- "{{ kube_proxy_mode == 'ipvs' }}" |
|||
- "{{ 'k8s_cluster' in group_names }}" |
|||
libseccomp: |
|||
- "{{ ansible_os_family == 'RedHat' }}" |
|||
libseccomp2: |
|||
- "{{ ansible_os_family in ['Debian', 'Suse'] }}" |
|||
- "{{ 'k8s_cluster' in group_names }}" |
|||
libselinux-python: # TODO: Handle rehat_family + major < 8 |
|||
- "{{ ansible_distribution == 'Amazon' }}" |
|||
libselinux-python3: |
|||
- "{{ ansible_distribution == 'Fedora' }}" |
|||
mergerfs: |
|||
- "{{ ansible_distribution == 'Debian' }}" |
|||
- "{{ ansible_distribution_major_version == '12' }}" |
|||
nftables: |
|||
- "{{ kube_proxy_mode == 'nftables' }}" |
|||
- "{{ 'k8s_cluster' in group_names }}" |
|||
nss: |
|||
- "{{ ansible_os_family == 'RedHat' }}" |
|||
openssl: [] |
|||
python-apt: |
|||
- "{{ ansible_os_family == 'Debian' }}" |
|||
- "{{ ansible_distribution_major_version == '10' }}" |
|||
python3-apt: |
|||
- "{{ ansible_os_family == 'Debian' }}" |
|||
- "{{ ansible_distribution_major_version != '10' }}" |
|||
python3-libselinux: |
|||
- "{{ ansible_distribution in ['RedHat', 'CentOS'] }}" |
|||
rsync: [] |
|||
socat: [] |
|||
software-properties-common: |
|||
- "{{ ansible_os_family == 'Debian' }}" |
|||
tar: [] |
|||
unzip: [] |
|||
xfsprogs: [] |
Write
Preview
Loading…
Cancel
Save