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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.