]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
common: fix rhcs installation on debian 1985/head
authorSébastien Han <seb@redhat.com>
Wed, 4 Oct 2017 11:36:01 +0000 (13:36 +0200)
committerSébastien Han <seb@redhat.com>
Thu, 5 Oct 2017 15:42:21 +0000 (17:42 +0200)
* 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>
group_vars/all.yml.sample
group_vars/rhcs.yml.sample
roles/ceph-common/tasks/installs/prerequisite_rhcs_cdn_install_debian.yml
roles/ceph-defaults/defaults/main.yml

index 22110f879b4f5c16c40592d8b845b987808154df..51b61508135d8f5918d5089dae1affd6fc132cf0 100644 (file)
@@ -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
 #
index 5ba40b7fc20512f151f0a7b1041bdd05fda1894c..58e7a872e4e58aa7bcd99b106a1276c04082e5ed 100644 (file)
@@ -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
 #
index 25aa6e00486ff7d7008f739998541a03d42722ae..98dd58bcc30686baf63bd955815568cc15f0d855 100644 (file)
@@ -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:
 
 - 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
index 20a31d3e749a350a9076cecb7daa9b42ea6b583a..3ac2d9be48b1cce13bff3b8645749bb2f4010c87 100644 (file)
@@ -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
 #