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
Guillaume Abrioux 2021-03-15 19:53:21 +01:00
parent 01939808b0
commit 05ab3a7d50
1 changed files with 2 additions and 2 deletions

View File

@ -19,11 +19,11 @@
- name: validate ceph_repository_community
fail:
msg: "ceph_stable_release must be either 'nautilus' or 'octopus'"
msg: "ceph_stable_release must be 'pacific'"
when:
- ceph_origin == 'repository'
- ceph_repository == 'community'
- ceph_stable_release not in ['nautilus', 'octopus']
- ceph_stable_release not in ['pacific']
- name: validate ceph_repository_type
fail: