openstack-helm/roles/deploy-env/tasks/prerequisites.yaml
Stephen Taylor e26324d5a5 [ceph] Update Ceph and Rook
This change updates all of the charts that use Ceph images to use
new images based on the Squid 19.2.1 release.

Rook is also updated to 1.16.3 and is configured to deploy Ceph
19.2.1.

Change-Id: Ie2c0353a4bfa181873c98ce5de655c3388aa9574
2025-02-18 13:38:05 -07:00

79 lines
1.9 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 Ceph apt repository key
apt_key:
url: https://download.ceph.com/keys/release.asc
state: present
- name: Add Ceph apt repository
apt_repository:
repo: deb https://download.ceph.com/debian-squid/ "{{ ansible_distribution_release }}" main
state: present
filename: ceph
- 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
- ceph-common
- 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
- name: Install reno
pip:
name: reno>=4.1.0
extra_args: "--ignore-installed"
...