Why is ansible 2.1.x docker_container module failing on Red Hat Enterprise 7.2/Red Hat Enterprise Linux Atomic host 7.2 ?

Solution Unverified - Updated -

Issue

  • Why is ansible 2.1.x docker module failing on Red Hat Enterprise 7.2/Red Hat Enterprise Linux Atomic host 7.2 ?
    Sample playbook
docker_container:
  name: docker-py-test
  image: test
  cpu_quota: "1000"
  hostname: dockertest

fails with the message "\r\nAttributeError: 'AnsibleDockerClient' object has no attribute 'update_container'\r\n", "msg": "MODULE FAILURE"

Environment

  • Red Hat Enterprise Linux 7.2
  • Red Hat Enterprise Atomic Host 7.2
  • Ansible 2.1.x
  • python-docker-py-1.7.2-1.el7.noarch

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content