validate: support obs repository

Otherwise, installation on SuSe fails.

Fixes: #6996

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 64196ce3a3)
pull/7091/head
Guillaume Abrioux 2021-12-01 08:44:28 +01:00
parent 314ba6e3e9
commit 7876d24a78
1 changed files with 2 additions and 2 deletions

View File

@ -6,10 +6,10 @@
- name: validate ceph_repository - name: validate ceph_repository
fail: 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: when:
- ceph_origin == 'repository' - 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 - name: validate ceph_repository_community
fail: fail: