mirror of https://github.com/ceph/ceph-ansible.git
common: fix debian rhcs installation
Signed-off-by: Sébastien Han <seb@redhat.com>pull/2009/head
parent
c3c63ae539
commit
a4dcef73d4
|
@ -45,13 +45,15 @@
|
||||||
|
|
||||||
- name: install red hat storage repository key for debian systems
|
- name: install red hat storage repository key for debian systems
|
||||||
apt_key:
|
apt_key:
|
||||||
file: "{{ ceph_rhcs_repository_path }}/RPM-GPG-KEY-redhat-release"
|
file: "{{ ceph_rhcs_repository_path }}/MON/release.asc"
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
- name: add red hat storage repository for debian systems
|
- name: add red hat storage repository for debian systems
|
||||||
template:
|
apt_repository:
|
||||||
src: "{{ role_path }}/templates/redhat_storage_repo.j2"
|
repo: "deb file://{{ ceph_rhcs_repository_path }}/{{ item }} {{ ansible_lsb.codename }} main"
|
||||||
dest: /etc/apt/sources.list.d/rh_storage.list
|
state: present
|
||||||
owner: root
|
changed_when: false
|
||||||
group: root
|
with_items:
|
||||||
mode: 0644
|
- MON
|
||||||
|
- OSD
|
||||||
|
- Tools
|
||||||
|
|
Loading…
Reference in New Issue