]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
ceph-validate: start with ansible version test
authorDimitri Savineau <dsavinea@redhat.com>
Fri, 6 Dec 2019 21:11:51 +0000 (16:11 -0500)
committerGuillaume Abrioux <gabrioux@redhat.com>
Tue, 3 Mar 2020 09:31:48 +0000 (10:31 +0100)
commit8cc2f8f21e7fa32b28f8fc4e6a9c5b9338a3d05b
tree348c7adaacdf8f65bffa9ab0504b1411739acb93
parent5a51bd12dc15c6adff41fc5c1802b5e2cfdaaaff
ceph-validate: start with ansible version test

It doesn't make sense to start validating configuration if the ansible
version isn't the good one.
This commit moves the check_system task as the first task in the
ceph-validate role.
The ansible version test tasks are moved at the top of this file.
Also moving the iscsi kernel tests from check_system to check_iscsi
file.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit 1a77dd7e914bc96614aae0014b39e3dbe5ff526a)
roles/ceph-validate/tasks/check_iscsi.yml
roles/ceph-validate/tasks/check_system.yml
roles/ceph-validate/tasks/main.yml