]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
default: look for the right return code on socket stat in-use
authorSébastien Han <seb@redhat.com>
Thu, 14 Dec 2017 10:31:28 +0000 (11:31 +0100)
committerGuillaume Abrioux <gabrioux@redhat.com>
Thu, 14 Dec 2017 15:59:14 +0000 (16:59 +0100)
commit7eaf444328c8c381c673883913cf71b8ebe9d064
treebeafd50d6b900a5839f992be8bfed511889babb8
parent8cba44262cf7291091b2318b563a28380e5049fd
default: look for the right return code on socket stat in-use

As reported in https://github.com/ceph/ceph-ansible/issues/2254, the
check with fuser is not ideal. If fuser is not available the return code
is 127. Here we want to make sure that we looking for the correct return
code, so 1.

Closes: https://github.com/ceph/ceph-ansible/issues/2254
Signed-off-by: Sébastien Han <seb@redhat.com>
roles/ceph-defaults/tasks/check_socket_non_container.yml