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
|
- 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:
|
||||||
|
|
Loading…
Reference in New Issue