Revert "Revert "ansible coding guidelines fix""

This reverts commit 7886b8eea948150e21fbd4c65a55d64f36353f25.
add ismnt to detect mount points