]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
ceph-validate: use kernel validation for iscsi
authorDimitri Savineau <dsavinea@redhat.com>
Thu, 18 Apr 2019 13:37:07 +0000 (09:37 -0400)
committerGuillaume Abrioux <gabrioux@redhat.com>
Mon, 20 May 2019 11:04:58 +0000 (13:04 +0200)
commit0c7fd79865d216d1caa1228bbbc9c021551ab12c
treebd8745a605a3341539ed062588aad2b88cea02df
parent72d8315299aa56889d8c680269fdf5da57f9654e
ceph-validate: use kernel validation for iscsi

Ceph iSCSI gateway requires Red Hat Enterprise Linux or CentOS 7.5
or later.
Because we can not check the ansible_distribution_version fact for
CentOS with ansible 2.8 (returns only the major version) we can
fallback by checking the kernel option.

  - CONFIG_TARGET_CORE=m
  - CONFIG_TCM_USER2=m
  - CONFIG_ISCSI_TARGET=m

http://docs.ceph.com/docs/master/rbd/iscsi-target-cli-manual-install/

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
roles/ceph-validate/tasks/check_system.yml