ansible docker模块:不支持的参数docker\u api\u版本

ansible docker模块:不支持的参数docker\u api\u版本,docker,ansible,Docker,Ansible,由于我的机器和目标服务器上的Docker API版本不同,我必须在任务中指定版本,例如 我的任务是: - name: stop the running container docker: docker_api_version: 1.13 image: my_image name: my_container state: absent 返回错误: msg: unsupported parameter for module: docker_api_versio

由于我的机器和目标服务器上的Docker API版本不同,我必须在任务中指定版本,例如

我的任务是:

- name: stop the running container
  docker: 
    docker_api_version: 1.13
    image: my_image
    name: my_container
    state: absent
返回错误:

msg: unsupported parameter for module: docker_api_version

我使用的是ansible 1.7.2,参数出现在1.4的文档中

docker\u api\u版本的文档中显示为“在ansible 1.8中添加”。(请参见链接页面上的评论部分)