]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
Use the CentOS repo for Red Hat dev packages
authorZack Cerza <zack@redhat.com>
Fri, 6 Apr 2018 16:17:48 +0000 (10:17 -0600)
committerSébastien Han <seb@redhat.com>
Mon, 9 Apr 2018 08:05:57 +0000 (10:05 +0200)
No use even trying to use something that doesn't exist.

Signed-off-by: Zack Cerza <zack@redhat.com>
roles/ceph-common/tasks/installs/redhat_dev_repository.yml

index 6bc4b065b3dc1e710ee0ad8f360159275dd0a4b6..dc1a5394f1085a114e17346f3a0d866c2d37ce5f 100644 (file)
@@ -1,7 +1,8 @@
 ---
 - name: fetch ceph red hat development repository
   uri:
-    url: https://shaman.ceph.com/api/repos/ceph/{{ ceph_dev_branch }}/{{ ceph_dev_sha1 }}/{{ ansible_distribution | lower }}/{{ ansible_distribution_major_version }}/repo
+    # Use the centos repo since we don't currently have a dedicated red hat repo
+    url: https://shaman.ceph.com/api/repos/ceph/{{ ceph_dev_branch }}/{{ ceph_dev_sha1 }}/centos/{{ ansible_distribution_major_version }}/repo
     return_content: yes
   register: ceph_dev_yum_repo