8afa0999e3
Ubuntu package does not have that in dependencies and cephadm fails without that. See [1]. [1]: https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/2085603 Change-Id: I5124f7078e15645979b68986dceb51948c89a520
24 lines
480 B
YAML
24 lines
480 B
YAML
---
|
|
- name: Ensure apt sources list directory exists
|
|
file:
|
|
path: /etc/apt/sources.list.d
|
|
state: directory
|
|
recurse: yes
|
|
become: True
|
|
|
|
- name: Enable Ceph apt repository
|
|
apt_repository:
|
|
repo: "{{ cephadm_ceph_apt_repo }}"
|
|
filename: ceph
|
|
become: True
|
|
when: not cephadm_use_package_from_distribution | bool
|
|
|
|
- name: Install cephadm
|
|
apt:
|
|
name:
|
|
- cephadm
|
|
- python3-jinja2
|
|
- python3-yaml
|
|
install_recommends: False
|
|
become: True
|