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)
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'] }}"