]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
container-common: remove old check
authorSébastien Han <seb@redhat.com>
Mon, 26 Nov 2018 09:56:14 +0000 (10:56 +0100)
committerGuillaume Abrioux <gabrioux@redhat.com>
Mon, 3 Dec 2018 13:39:43 +0000 (14:39 +0100)
commitcfac79bec4e2d5e9a22f27b64e5a58398bb8900f
tree9a223645156fe1212696221f173226202a7c1a99
parentbb7bfca113f4dc8990b299cb567924d139c2e0d5
container-common: remove old check

This removes a bit of unnecessary code, the check was always wrong
because of the condition 'not ceph_current_status.get('rc', 1) == 0'
It will never match since `Not` is used for bool and we are checking for
an rc.
Also, even though the check would work, this will be a major blocker for
a complete meltdown. If the whole platform is shutdown then nothing will
be up but files will be present, so this check is definitely wrong.

Signed-off-by: Sébastien Han <seb@redhat.com>
roles/ceph-container-common/tasks/checks.yml [deleted file]
roles/ceph-container-common/tasks/main.yml
roles/ceph-container-common/tasks/stat_ceph_files.yml [deleted file]