]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
validate: update `ceph_repository_community` check
authorGuillaume Abrioux <gabrioux@redhat.com>
Mon, 15 Mar 2021 18:53:21 +0000 (19:53 +0100)
committerGuillaume Abrioux <gabrioux@redhat.com>
Thu, 18 Mar 2021 07:54:33 +0000 (08:54 +0100)
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 47b9b75ace037a7673453b64d401d5dc7c77cdd7)

roles/ceph-validate/tasks/main.yml

index b6d33a690ab2808756e0d93c166e24182f1c627c..36e7e86531a1bc8629f60fa1ecbaef1a24faecfd 100644 (file)
 
     - 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: