mirror of https://github.com/ceph/ceph-ansible.git
Evades validation of ceph_repository_type in containerized scenario
This will prevent failure of site-docker.yml with configs in doc. Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1769760 Signed-off-by: VasishtaShastry <vipin.indiasmg@gmail.com> Co-Authored-By: Guillaume Abrioux <gabrioux@redhat.com>pull/4747/head
parent
b717b5f736
commit
9a1f1626c3
|
@ -1,10 +1,11 @@
|
|||
---
|
||||
- name: validate repository variables in non-containerized scenario
|
||||
when: not containerized_deployment | bool
|
||||
block:
|
||||
- name: validate ceph_origin
|
||||
fail:
|
||||
msg: "ceph_origin must be either 'repository', 'distro' or 'local'"
|
||||
when:
|
||||
- not containerized_deployment | bool
|
||||
- ceph_origin not in ['repository', 'distro', 'local']
|
||||
when: ceph_origin not in ['repository', 'distro', 'local']
|
||||
|
||||
- name: validate ceph_repository
|
||||
fail:
|
||||
|
|
Loading…
Reference in New Issue