mirror of https://github.com/ceph/ceph-ansible.git
36 lines
1.4 KiB
YAML
36 lines
1.4 KiB
YAML
---
|
|
- name: install red hat storage repository key for debian systems
|
|
apt_key:
|
|
data: "{{ lookup('file', role_path+'/files/cephstablerhcs.asc') }}"
|
|
state: present
|
|
|
|
- name: enable red hat storage monitor repository for debian systems
|
|
apt_repository:
|
|
repo: "deb {{ ceph_rhcs_cdn_debian_repo }}/2-updates/MON {{ ceph_stable_distro_source | default(ansible_lsb.codename) }} main"
|
|
state: present
|
|
changed_when: false
|
|
when:
|
|
- mon_group_name in group_names
|
|
|
|
- name: enable red hat storage osd repository for debian systems
|
|
apt_repository:
|
|
repo: "deb {{ ceph_rhcs_cdn_debian_repo }}/2-updates/OSD {{ ceph_stable_distro_source | default(ansible_lsb.codename) }} main"
|
|
state: present
|
|
changed_when: false
|
|
when:
|
|
- osd_group_name in group_names
|
|
|
|
- name: enable red hat storage rados gateway / mds repository for debian systems
|
|
apt_repository:
|
|
repo: "deb {{ ceph_rhcs_cdn_debian_repo }}/2-updates/Tools {{ ceph_stable_distro_source | default(ansible_lsb.codename) }} main"
|
|
state: present
|
|
changed_when: false
|
|
when:
|
|
- (rgw_group_name in group_names or mds_group_name in group_names)
|
|
|
|
- name: enable red hat storage agent repository for debian systems
|
|
apt_repository:
|
|
repo: "deb {{ ceph_rhcs_cdn_debian_repo }}/2-updates/Agent {{ ceph_stable_distro_source | default(ansible_lsb.codename) }} main"
|
|
state: present
|
|
changed_when: false
|