aboutsummaryrefslogtreecommitdiff
path: root/roles/cephadm/tasks/pkg_debian.yml
blob: 92dd08221f3de2293bd0e90c405d6c3c25789b34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
---
- name: Ensure apt sources list directory exists
  become: true
  file:
    path: /etc/apt/sources.list.d
    state: directory
    recurse: true

- name: Enable Ceph apt repository
  become: true
  apt_repository:
    repo: "{{ cephadm_ceph_apt_repo }}"
    filename: ceph
  when: not cephadm_use_package_from_distribution | bool

- name: Install cephadm
  become: true
  apt:
    name:
      - cephadm
      - python3-jinja2
      - python3-yaml
    install_recommends: false