]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
check_system: improve RHCS support message and version comparison 1346/head
authorKen Dreyer <kdreyer@redhat.com>
Fri, 3 Mar 2017 16:56:30 +0000 (09:56 -0700)
committerKen Dreyer <kdreyer@redhat.com>
Fri, 3 Mar 2017 16:57:16 +0000 (09:57 -0700)
"red hat storage" -> "red hat ceph storage"

"RHEL 7.1" -> "RHEL 7"

and make the version number check verify the very latest version

https://bugzilla.redhat.com/show_bug.cgi?id=1354059

roles/ceph-common/tasks/checks/check_system.yml

index e198e1f1863539091297302ae2b64accee465685..985c387e384da0dbc50d67854f7c0853cb268f2a 100644 (file)
     msg: "Distribution not supported {{ ansible_os_family }}"
   when: "'{{ ansible_os_family }}' not in ['Debian', 'RedHat']"
 
-- name: fail on unsupported distribution for red hat storage
+- name: fail on unsupported distribution for red hat ceph storage
   fail:
-    msg: "Distribution not supported {{ ansible_distribution_version }} by Red Hat Ceph Storage, only RHEL 7.1"
+    msg: "Distribution not supported {{ ansible_distribution_version }} by Red Hat Ceph Storage, only RHEL 7"
   when:
     - ceph_rhcs
-    - ansible_distribution_version | version_compare('7.1', '<')
+    - ansible_distribution_version | version_compare('7.3', '<')
 
 - name: fail on unsupported distribution for ubuntu cloud archive
   fail: