# 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-reef/ "{{ ansible_distribution_release }}" main state: present filename: ceph.list - 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.list - 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 - util-linux - uuid-runtime - vim - wireguard ...