]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
validate: support obs repository
authorGuillaume Abrioux <gabrioux@redhat.com>
Wed, 1 Dec 2021 07:44:28 +0000 (08:44 +0100)
committerGuillaume Abrioux <gabrioux@redhat.com>
Tue, 15 Feb 2022 17:19:11 +0000 (18:19 +0100)
Otherwise, installation on SuSe fails.

Fixes: #6996
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 64196ce3a33eb5bec6b90c908bf9b8aaad25d248)

roles/ceph-validate/tasks/check_repository.yml

index 8f0bf174346e5a0298fdb63a84048448af05759c..8c318e81e9478984b80eebded09482f14be492d3 100644 (file)
@@ -6,10 +6,10 @@
 
 - name: validate ceph_repository
   fail:
-    msg: "ceph_repository must be either 'community', 'rhcs', 'dev', 'custom' or 'uca'"
+    msg: "ceph_repository must be either 'community', 'rhcs', 'obs', 'dev', 'custom' or 'uca'"
   when:
     - ceph_origin == 'repository'
-    - ceph_repository not in ['community', 'rhcs', 'dev', 'custom', 'uca']
+    - ceph_repository not in ['community', 'rhcs', 'obs', 'dev', 'custom', 'uca']
 
 - name: validate ceph_repository_community
   fail: