mirror of https://github.com/ceph/ceph-ansible.git
common: fix rhcs installation on debian
* Change version from 2 to 3. * use ceph_rhcs_cdn_debian_repo_version to use other repositories along * with ceph_rhcs_cdn_debian_repo Signed-off-by: Sébastien Han <seb@redhat.com>pull/1985/head
parent
f92eaea0fd
commit
9193e88878
|
@ -178,6 +178,10 @@ dummy:
|
|||
#ceph_rhcs_mount_path: "{{ ceph_stable_rh_storage_mount_path | default('/tmp/rh-storage-mount') }}"
|
||||
#ceph_rhcs_repository_path: "{{ ceph_stable_rh_storage_repository_path | default('/tmp/rh-storage-repo') }}" # where to copy iso's content
|
||||
|
||||
# RHCS installation in Debian systems
|
||||
#ceph_rhcs_cdn_debian_repo: https://customername:customerpasswd@rhcs.download.redhat.com
|
||||
#ceph_rhcs_cdn_debian_repo_version: "/3-updates/"
|
||||
|
||||
|
||||
# REPOSITORY: UBUNTU CLOUD ARCHIVE
|
||||
#
|
||||
|
|
|
@ -178,6 +178,10 @@ ceph_repository: rhcs
|
|||
#ceph_rhcs_mount_path: "{{ ceph_stable_rh_storage_mount_path | default('/tmp/rh-storage-mount') }}"
|
||||
#ceph_rhcs_repository_path: "{{ ceph_stable_rh_storage_repository_path | default('/tmp/rh-storage-repo') }}" # where to copy iso's content
|
||||
|
||||
# RHCS installation in Debian systems
|
||||
#ceph_rhcs_cdn_debian_repo: https://customername:customerpasswd@rhcs.download.redhat.com
|
||||
#ceph_rhcs_cdn_debian_repo_version: "/3-updates/"
|
||||
|
||||
|
||||
# REPOSITORY: UBUNTU CLOUD ARCHIVE
|
||||
#
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
- 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"
|
||||
repo: "deb {{ ceph_rhcs_cdn_debian_repo }}{{ ceph_rhcs_cdn_debian_repo_version }}/MON {{ ceph_stable_distro_source | default(ansible_lsb.codename) }} main"
|
||||
state: present
|
||||
changed_when: false
|
||||
when:
|
||||
|
@ -14,7 +14,7 @@
|
|||
|
||||
- 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"
|
||||
repo: "deb {{ ceph_rhcs_cdn_debian_repo }}{{ ceph_rhcs_cdn_debian_repo_version }}/OSD {{ ceph_stable_distro_source | default(ansible_lsb.codename) }} main"
|
||||
state: present
|
||||
changed_when: false
|
||||
when:
|
||||
|
@ -22,14 +22,8 @@
|
|||
|
||||
- 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"
|
||||
repo: "deb {{ ceph_rhcs_cdn_debian_repo }}{{ ceph_rhcs_cdn_debian_repo_version }}/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
|
||||
|
|
|
@ -170,6 +170,10 @@ ceph_rhcs_iso_path: "{{ ceph_stable_rh_storage_iso_path | default('') }}"
|
|||
ceph_rhcs_mount_path: "{{ ceph_stable_rh_storage_mount_path | default('/tmp/rh-storage-mount') }}"
|
||||
ceph_rhcs_repository_path: "{{ ceph_stable_rh_storage_repository_path | default('/tmp/rh-storage-repo') }}" # where to copy iso's content
|
||||
|
||||
# RHCS installation in Debian systems
|
||||
ceph_rhcs_cdn_debian_repo: https://customername:customerpasswd@rhcs.download.redhat.com
|
||||
ceph_rhcs_cdn_debian_repo_version: "/3-updates/"
|
||||
|
||||
|
||||
# REPOSITORY: UBUNTU CLOUD ARCHIVE
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue