python3连接mysql获取ansible动态inventory脚本