{"action":"closed","issue":{"url":"https://api.github.com/repos/ansible/ansible/issues/29512","repository_url":"https://api.github.com/repos/ansible/ansible","labels_url":"https://api.github.com/repos/ansible/ansible/issues/29512/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible/issues/29512/comments","events_url":"https://api.github.com/repos/ansible/ansible/issues/29512/events","html_url":"https://github.com/ansible/ansible/issues/29512","id":256690469,"node_id":"MDU6SXNzdWUyNTY2OTA0Njk=","number":29512,"title":"docker_container fails while pulling new image","user":{"login":"ansibot","id":6585283,"node_id":"MDQ6VXNlcjY1ODUyODM=","avatar_url":"https://avatars0.githubusercontent.com/u/6585283?v=4","gravatar_id":"","url":"https://api.github.com/users/ansibot","html_url":"https://github.com/ansibot","followers_url":"https://api.github.com/users/ansibot/followers","following_url":"https://api.github.com/users/ansibot/following{/other_user}","gists_url":"https://api.github.com/users/ansibot/gists{/gist_id}","starred_url":"https://api.github.com/users/ansibot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ansibot/subscriptions","organizations_url":"https://api.github.com/users/ansibot/orgs","repos_url":"https://api.github.com/users/ansibot/repos","events_url":"https://api.github.com/users/ansibot/events{/privacy}","received_events_url":"https://api.github.com/users/ansibot/received_events","type":"User","site_admin":false},"labels":[{"id":437720699,"node_id":"MDU6TGFiZWw0Mzc3MjA2OTk=","url":"https://api.github.com/repos/ansible/ansible/labels/affects_2.2","name":"affects_2.2","color":"5319e7","default":false},{"id":785271699,"node_id":"MDU6TGFiZWw3ODUyNzE2OTk=","url":"https://api.github.com/repos/ansible/ansible/labels/bug","name":"bug","color":"fbca04","default":true},{"id":61528803,"node_id":"MDU6TGFiZWw2MTUyODgwMw==","url":"https://api.github.com/repos/ansible/ansible/labels/cloud","name":"cloud","color":"c7def8","default":false},{"id":500715204,"node_id":"MDU6TGFiZWw1MDA3MTUyMDQ=","url":"https://api.github.com/repos/ansible/ansible/labels/docker","name":"docker","color":"c5def5","default":false},{"id":496359346,"node_id":"MDU6TGFiZWw0OTYzNTkzNDY=","url":"https://api.github.com/repos/ansible/ansible/labels/module","name":"module","color":"1d76db","default":false},{"id":636327968,"node_id":"MDU6TGFiZWw2MzYzMjc5Njg=","url":"https://api.github.com/repos/ansible/ansible/labels/support:community","name":"support:community","color":"ededed","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":36,"created_at":"2017-09-11T12:49:20Z","updated_at":"2018-09-26T06:28:33Z","closed_at":"2018-09-26T06:28:33Z","author_association":"CONTRIBUTOR","body":"From @maciej on 2016-11-07T17:28:08Z\r\n<!--- Verify first that your issue/request is not already reported in GitHub -->\r\n\r\n##### ISSUE TYPE\r\n<!--- Pick one below and delete the rest: -->\r\n - Bug Report\r\n\r\n##### COMPONENT NAME\r\n<!--- Name of the plugin/module/task -->\r\ndocker_container\r\n\r\n##### ANSIBLE VERSION\r\n<!--- Paste verbatim output from “ansible --version” between quotes below -->\r\n```\r\nansible 2.2.0.0\r\n  config file = [redacted]/ansible.cfg\r\n  configured module search path = Default w/o overrides\r\n```\r\n\r\n##### CONFIGURATION\r\n<!---\r\nMention any settings you have changed/added/removed in ansible.cfg\r\n(or using the ANSIBLE_* environment variables).\r\n-->\r\n```\r\n[defaults]\r\nhost_key_checking=False\r\n```\r\n\r\n##### OS / ENVIRONMENT\r\n<!---\r\nMention the OS you are running Ansible from, and the OS you are\r\nmanaging, or say “N/A” for anything that is not platform-specific.\r\n-->\r\nRunning ansible from: macOS Sierra\r\nProvisioning: CentOS 7.2, Docker installed from https://yum.dockerproject.org/repo/main/centos/7\r\n\r\n##### SUMMARY\r\n<!--- Explain the problem briefly -->\r\n`docker_container` module fails with: \r\n```\r\nfatal: [default]: FAILED! => {\"changed\": false, \"failed\": true, \"msg\": \"Error pulling image httpd:latest - pull() got an unexpected keyword argument 'decode'\"}\r\n```\r\nwhile pulling an image\r\n\r\n##### STEPS TO REPRODUCE\r\n<!---\r\nFor bugs, show exactly how to reproduce the problem.\r\nFor new features, show how the feature would be used.\r\n-->\r\nExecute ansible-playbook with the following play:\r\n\r\n<!--- Paste example playbooks or commands between quotes below -->\r\n```\r\n- name: \"Start container\"\r\n  docker_container:\r\n    name: whatever\r\n    image: \"httpd\"\r\n    pull: true\r\n```\r\n\r\n<!--- You can also paste gist.github.com links for larger files -->\r\n\r\nCopied from original issue: ansible/ansible-modules-core#5515\r\n"}}
{"actor":{"display_login":"Akasurde"}}