mirror of https://github.com/ceph/ceph-ansible.git
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
parent
314ba6e3e9
commit
7876d24a78
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue