blob: 86f6eddd70496a4852c063481e1148330849c6d9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
---
- 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
install_recommends: False
become: True
|