{"action":"closed","issue":{"url":"https://api.github.com/repos/ansible/ansible/issues/29895","repository_url":"https://api.github.com/repos/ansible/ansible","labels_url":"https://api.github.com/repos/ansible/ansible/issues/29895/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible/issues/29895/comments","events_url":"https://api.github.com/repos/ansible/ansible/issues/29895/events","html_url":"https://github.com/ansible/ansible/issues/29895","id":256900925,"number":29895,"title":"pip module always shows changed in --check mode when state=latest","user":{"login":"ansibot","id":6585283,"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":437720635,"url":"https://api.github.com/repos/ansible/ansible/labels/affects_2.1","name":"affects_2.1","color":"5319e7","default":false},{"id":785271699,"url":"https://api.github.com/repos/ansible/ansible/labels/bug","name":"bug","color":"fbca04","default":true},{"id":496359346,"url":"https://api.github.com/repos/ansible/ansible/labels/module","name":"module","color":"1d76db","default":false},{"id":54811101,"url":"https://api.github.com/repos/ansible/ansible/labels/needs_info","name":"needs_info","color":"eb6420","default":false},{"id":636352796,"url":"https://api.github.com/repos/ansible/ansible/labels/support:core","name":"support:core","color":"ededed","default":false},{"id":486238465,"url":"https://api.github.com/repos/ansible/ansible/labels/waiting_on_contributor","name":"waiting_on_contributor","color":"eb6420","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2017-09-12T02:49:41Z","updated_at":"2018-03-17T16:31:53Z","closed_at":"2018-03-17T16:31:53Z","author_association":"CONTRIBUTOR","body":"From @mgedmin on 2016-02-17T13:07:51Z\r\n**Issue Type**\nBug Report\n\n**Component Name**\npip module\n\n**Ansible version**\nansible 2.1.0 (devel 875ea74621) last updated 2016/02/17 08:28:52 (GMT +300)\n  lib/ansible/modules/core: (detached HEAD 8d126bd877) last updated 2016/02/15 09:14:28 (GMT +300)\n  lib/ansible/modules/extras: (detached HEAD f6c5ed987f) last updated 2016/02/12 08:50:23 (GMT +300)\n\n**Summary**\n\nThis is similar to #2848, except I'm unhappy about the other case in the branch, about `state=latest`.\n\n**Steps to reproduce**\n\nHave a task like this:\n\n``` yml\n- name: install letsencrypt\n  pip: name={{ item }} virtualenv=/opt/letsencrypt state=latest\n  with_items:\n    - pip\n    - setuptools\n    - letsencrypt\n    - letsencrypt-apache\n```\n\nRun it with `ansible -C`\n\n**Expected behavior**\n- doesn't report changed unless there are newer versions of any of the packages requested (or their dependencies) on the Python Package Index\n\n**Actual behavior**\n- always reports changed for all packages\n\r\nCopied from original issue: ansible/ansible-modules-core#3055\r\n"}}
{"actor":{"display_login":"ansibot"}}