1
0
mirror of https://github.com/openshift/openshift-ansible.git synced 2026-02-05 06:46:04 +01:00
Files
openshift-ansible/roles/openshift_node/defaults/main.yml
Scott Dodson 6a063c4690 Switch to openshift-kubelet package
See https://github.com/openshift/kubernetes/pull/1882

This will likely require some testing. I would expect clusters upgrading
to the new packaging to be fine but still have all of the other packages
installed. Maybe at some point we should come back and remove the other
packages but it doesn't seem imperative now.
2024-02-26 15:06:32 -05:00

107 lines
2.8 KiB
YAML

---
openshift_node_active_nodes: []
openshift_node_machineconfigpool: 'worker'
openshift_node_tls_verify: false
openshift_node_kubeconfig_path: "{{ openshift_kubeconfig_path | default('~/.kube/config') | expanduser | realpath }}"
openshift_node_kubeconfig: "{{ lookup('file', openshift_node_kubeconfig_path) | from_yaml }}"
openshift_node_bootstrap_port: 22623
openshift_node_bootstrap_server: "{{ openshift_node_kubeconfig.clusters.0.cluster.server.split(':')[0:-1] | join(':') | regex_replace('://api-int|://api', '://api-int') }}:{{ openshift_node_bootstrap_port }}"
openshift_node_bootstrap_endpoint: "{{ openshift_node_bootstrap_server }}/config/{{ openshift_node_machineconfigpool }}"
openshift_package_directory: '/tmp/openshift-ansible-packages'
openshift_packages: "{{ (openshift_node_packages + openshift_node_support_packages) | join(',') }}"
openshift_node_packages:
- conmon
- cri-o-{{ crio_latest }}
- cri-tools
- openshift-clients-{{ l_cluster_version }}*
- openshift-kubelet-{{ l_cluster_version }}*
- podman
- runc
- ose-aws-ecr-image-credential-provider
openshift_node_support_packages: "{{
openshift_node_support_packages_base +
openshift_node_support_packages_by_os_major_version[ansible_distribution_major_version] +
openshift_node_support_packages_by_arch[ansible_architecture] }}"
openshift_node_support_packages_base:
- kernel
- systemd
- selinux-policy-targeted
- setools-console
- dracut-network
- passwd
- openssh-server
- openssh-clients
- skopeo
- containernetworking-plugins
- nfs-utils
- NetworkManager
- NetworkManager-ovs # https://bugzilla.redhat.com/show_bug.cgi?id=1884095
- NetworkManager-libreswan
- libreswan
- dnsmasq
- lvm2
- iscsi-initiator-utils
- sg3_utils
- device-mapper-multipath
- xfsprogs
- e2fsprogs
- mdadm
- cryptsetup
- chrony
- logrotate
- sssd
- shadow-utils
- sudo
- coreutils
- less
- tar
- xz
- gzip
- bzip2
- rsync
- tmux
- nmap-ncat
- net-tools
- bind-utils
- strace
- bash-completion
- vim-minimal
- nano
- authconfig
- iptables-services
- cifs-utils # https://bugzilla.redhat.com/show_bug.cgi?id=1827982
- jq
- libseccomp
openshift_node_support_packages_by_os_major_version:
"7":
- openvswitch2.13
- policycoreutils-python
- bridge-utils
- container-storage-setup
- ceph-common
"8":
- openvswitch3.1
- policycoreutils-python-utils
openshift_node_support_packages_by_arch:
ppc64le:
- irqbalance
s390x:
- s390utils-base
x86_64:
- microcode_ctl
- irqbalance
- biosdevname
# GlusterFS
# Temporarily only for x86_64 as were not shipping it for other arches atm
# Tracked in https://bugzilla.redhat.com/show_bug.cgi?id=1715175
- glusterfs-fuse
aarch64:
- irqbalance