if not os.path.exists(src):
module.fail_json(msg="Source %s failed to transfer" % (src)) # Sanity check the src file exists
if not os.path.exists(src):
module.fail_json( msg='src file does not exist: %s in %s' % (src, os.getcwd()) )failed: [localhost] => {"failed": true}msg: src file does not exist: eu-replay-dev in /home/jjmcnulty
if not os.path.exists(src):
module.fail_json(msg="Source %s failed to transfer" % (src))
if not os.path.exists(src):
module.fail_json(msg="Source %s failed to transfer" % (src))