
It does not work on Ubuntu Noble which requires using virtual env when you try to install packages using pip. Also for deployment tests reno is not needed because we build charts with SKIP_CHANGELOG=1 Change-Id: I8f0578ed2e1d0e757add155c618eea2e8a2e30d2
62 lines
1.5 KiB
YAML
62 lines
1.5 KiB
YAML
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
---
|
|
- name: Add Kubernetes apt repository key
|
|
apt_key:
|
|
url: "https://pkgs.k8s.io/core:/stable:/{{ kube_version_repo }}/deb/Release.key"
|
|
state: present
|
|
|
|
- name: Add Kubernetes apt repository
|
|
apt_repository:
|
|
repo: "deb https://pkgs.k8s.io/core:/stable:/{{ kube_version_repo }}/deb/ /"
|
|
state: present
|
|
filename: kubernetes
|
|
|
|
- name: Install necessary packages
|
|
apt:
|
|
pkg:
|
|
- apt-transport-https
|
|
- bc
|
|
- bridge-utils
|
|
- ca-certificates
|
|
- conntrack
|
|
- curl
|
|
- ethtool
|
|
- git
|
|
- git-review
|
|
- gnupg2
|
|
- iptables
|
|
- ipvsadm
|
|
- jq
|
|
- less
|
|
- libffi-dev
|
|
- lvm2
|
|
- make
|
|
- net-tools
|
|
- nfs-common
|
|
- nmap
|
|
- notary
|
|
- python3-dev
|
|
- rbd-nbd
|
|
- socat
|
|
- tcpdump
|
|
- telnet
|
|
# needed for kubernetes-node-problem-detector chart
|
|
# which mounts /etc/localtime from the host
|
|
- tzdata
|
|
- util-linux
|
|
- uuid-runtime
|
|
- vim
|
|
- wireguard
|
|
...
|