mirror of https://github.com/ceph/ceph-ansible.git
21 lines
674 B
YAML
21 lines
674 B
YAML
---
|
|
- name: install dependencies for apt modules
|
|
package:
|
|
name: ['apt-transport-https', 'ca-certificates', 'gnupg', 'software-properties-common']
|
|
update_cache: yes
|
|
register: result
|
|
until: result is succeeded
|
|
|
|
- name: configure debian ceph community repository stable key
|
|
apt_key:
|
|
data: "{{ lookup('file', role_path+'/files/cephstable.asc') }}"
|
|
state: present
|
|
register: result
|
|
until: result is succeeded
|
|
|
|
- name: configure debian ceph stable community repository
|
|
apt_repository:
|
|
repo: "deb {{ ceph_stable_repo }} {{ ceph_stable_distro_source | default(ansible_facts['distribution_release']) }} main"
|
|
state: present
|
|
update_cache: yes
|