]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
typo: updating type check on rc
authorianwatsonrh <ianwatson@redhat.com>
Tue, 21 Apr 2020 13:14:46 +0000 (14:14 +0100)
committerDimitri Savineau <savineau.dimitri@gmail.com>
Thu, 23 Apr 2020 13:58:55 +0000 (09:58 -0400)
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1826884
Signed-off-by: ianwatsonrh <ianwatson@redhat.com>
(cherry picked from commit ccf6a7f153c7a36a700b914db956058f2408304b)

roles/ceph-validate/tasks/check_system.yml

index 6b8490b0caeb3fd50f6a133229eabe9aa19ef469..080a43d702e04e5c820135972a8249020cb8c435 100644 (file)
@@ -54,7 +54,7 @@
         - name: fail on unregistered red hat rhcs linux
           fail:
             msg: "You must register your machine with subscription-manager"
-          when: subscription.rc != '0'
+          when: subscription.rc != 0
 
 - name: fail on unsupported distribution for ubuntu cloud archive
   fail: