{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/3290","repository_url":"https://api.github.com/repos/ansible/ansible-modules-extras","labels_url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/3290/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/3290/comments","events_url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/3290/events","html_url":"https://github.com/ansible/ansible-modules-extras/issues/3290","id":185328912,"number":3290,"title":"npm always installing even if package is installed already","user":{"login":"shaharmor","id":10861920,"avatar_url":"https://avatars.githubusercontent.com/u/10861920?v=3","gravatar_id":"","url":"https://api.github.com/users/shaharmor","html_url":"https://github.com/shaharmor","followers_url":"https://api.github.com/users/shaharmor/followers","following_url":"https://api.github.com/users/shaharmor/following{/other_user}","gists_url":"https://api.github.com/users/shaharmor/gists{/gist_id}","starred_url":"https://api.github.com/users/shaharmor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shaharmor/subscriptions","organizations_url":"https://api.github.com/users/shaharmor/orgs","repos_url":"https://api.github.com/users/shaharmor/repos","events_url":"https://api.github.com/users/shaharmor/events{/privacy}","received_events_url":"https://api.github.com/users/shaharmor/received_events","type":"User","site_admin":false},"labels":[{"id":437719857,"url":"https://api.github.com/repos/ansible/ansible-modules-extras/labels/affects_2.1","name":"affects_2.1","color":"5319e7","default":false},{"id":132898023,"url":"https://api.github.com/repos/ansible/ansible-modules-extras/labels/bug_report","name":"bug_report","color":"fbca04","default":false},{"id":415779102,"url":"https://api.github.com/repos/ansible/ansible-modules-extras/labels/waiting_on_maintainer","name":"waiting_on_maintainer","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-10-26T08:33:04Z","updated_at":"2016-11-27T09:48:47Z","closed_at":null,"body":"##### ISSUE TYPE\n- Bug Report\n##### COMPONENT NAME\n\nnpm\n##### ANSIBLE VERSION\n\n```\nansible 2.1.2.0\n```\n##### CONFIGURATION\n\n```\n[defaults]\nhost_key_checking = False\n```\n##### OS / ENVIRONMENT\n\nN/A\n##### SUMMARY\n\nWhen using the npm module to install a package globally, it doesn't check if the module is installed before installing, making it always \"change\" the module.\n##### STEPS TO REPRODUCE\n\nRun the follwing task multiple timesL\n\n```\n- name: update npm\n  npm:\n   name: npm\n   global: yes\n   state: present\n   version: '3.10.8'\n   production: yes\n```\n##### EXPECTED RESULTS\n\nFirst run: changed\nSecond run: ok\n##### ACTUAL RESULTS\n\nFirst run: changed\nSecond run: changed\n"},"comment":{"url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/comments/263112780","html_url":"https://github.com/ansible/ansible-modules-extras/issues/3290#issuecomment-263112780","issue_url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/3290","id":263112780,"user":{"login":"ansibot","id":6585283,"avatar_url":"https://avatars.githubusercontent.com/u/6585283?v=3","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},"created_at":"2016-11-27T09:48:47Z","updated_at":"2016-11-27T09:48:47Z","body":"@shane-walker, ping. This issue is still waiting on your response.\n[click here for bot help](https://github.com/ansible/ansibullbot/blob/master/ISSUE_HELP.md)\n<!--- boilerplate: issue_renotify_maintainer --->"}}
{"actor":{"display_login":"ansibot"}}