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>
Thu, 2 Dec 2021 07:51:45 +0000 (08:51 +0100)
Otherwise, installation on SuSe fails.

Fixes: #6996
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
roles/ceph-validate/tasks/check_repository.yml

index ec3c124e4003658b22ca40ad53e22b24ed54e596..e7d5663167ffedc1fdb977d198e09f4fe736b6f5 100644 (file)
@@ -5,10 +5,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: