]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
validate: drop a check v6.0.25.5
authorGuillaume Abrioux <gabrioux@redhat.com>
Mon, 28 Mar 2022 09:49:39 +0000 (11:49 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Thu, 7 Apr 2022 14:56:33 +0000 (16:56 +0200)
Since the ISO install method removal, ceph-ansible isn't able
to detect wheter the user is deploying in a 'disconnected environment'.
By the way, given that ceph-ansible is available only for upgrading to RHCS 5,
this check doesn't make sense anymore, let's drop it.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=2062147
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 1cd1fa05601384c5cd8d907b0581fdfaf125c098)
(cherry picked from commit 0d6763d4ef74a217b4122cc77792e0f6e48e4092)

roles/ceph-validate/tasks/check_system.yml

index f3c47bd5ce3b8b15b103f9d04d20d9ca3fa20b0a..44a37fa04637c2c840153d72051223945e913b24 100644 (file)
         msg: "Distribution not supported {{ ansible_facts['distribution_version'] }} by Red Hat Ceph Storage, only RHEL >= 8.2"
       when: ansible_facts['distribution_version'] is version('8.2', '<')
 
-    - name: subscription manager related tasks
-      block:
-        - name: determine if node is registered with subscription-manager
-          command: subscription-manager identity
-          register: subscription
-          changed_when: false
-          failed_when: false
-          check_mode: no
-
-        - name: fail on unregistered red hat rhcs linux
-          fail:
-            msg: "You must register your machine with subscription-manager"
-          when: subscription.rc != 0
-
 - name: fail on unsupported distribution for ubuntu cloud archive
   fail:
     msg: "Distribution not supported by Ubuntu Cloud Archive: {{ ansible_facts['distribution'] }}"