mirror of https://github.com/ceph/ceph-ansible.git
validate: update `ceph_repository_community` check
this updates the `ceph_repository_community` check in `ceph-validate`
with the right ceph release expected.
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 47b9b75ace
)
pull/6366/head
parent
01939808b0
commit
05ab3a7d50
|
@ -19,11 +19,11 @@
|
||||||
|
|
||||||
- name: validate ceph_repository_community
|
- name: validate ceph_repository_community
|
||||||
fail:
|
fail:
|
||||||
msg: "ceph_stable_release must be either 'nautilus' or 'octopus'"
|
msg: "ceph_stable_release must be 'pacific'"
|
||||||
when:
|
when:
|
||||||
- ceph_origin == 'repository'
|
- ceph_origin == 'repository'
|
||||||
- ceph_repository == 'community'
|
- ceph_repository == 'community'
|
||||||
- ceph_stable_release not in ['nautilus', 'octopus']
|
- ceph_stable_release not in ['pacific']
|
||||||
|
|
||||||
- name: validate ceph_repository_type
|
- name: validate ceph_repository_type
|
||||||
fail:
|
fail:
|
||||||
|
|
Loading…
Reference in New Issue