Ansible modules lvg and vdo throw appropriate error messages when disk is not present or if there is insufficient space. For example: TASK [Create a volume group] ********************************************************************** fatal: [rhhi1]: FAILED! => {"changed": false, "msg": "Device /dev/sdb not found."} I think that should be sufficient. Please re-open if we need custom messages.