{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible/issues/41639","repository_url":"https://api.github.com/repos/ansible/ansible","labels_url":"https://api.github.com/repos/ansible/ansible/issues/41639/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible/issues/41639/comments","events_url":"https://api.github.com/repos/ansible/ansible/issues/41639/events","html_url":"https://github.com/ansible/ansible/issues/41639","id":333172328,"node_id":"MDU6SXNzdWUzMzMxNzIzMjg=","number":41639,"title":"homebrew cask state upgraded upgrades all - not the one given","user":{"login":"EugenMayer","id":136934,"node_id":"MDQ6VXNlcjEzNjkzNA==","avatar_url":"https://avatars2.githubusercontent.com/u/136934?v=4","gravatar_id":"","url":"https://api.github.com/users/EugenMayer","html_url":"https://github.com/EugenMayer","followers_url":"https://api.github.com/users/EugenMayer/followers","following_url":"https://api.github.com/users/EugenMayer/following{/other_user}","gists_url":"https://api.github.com/users/EugenMayer/gists{/gist_id}","starred_url":"https://api.github.com/users/EugenMayer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EugenMayer/subscriptions","organizations_url":"https://api.github.com/users/EugenMayer/orgs","repos_url":"https://api.github.com/users/EugenMayer/repos","events_url":"https://api.github.com/users/EugenMayer/events{/privacy}","received_events_url":"https://api.github.com/users/EugenMayer/received_events","type":"User","site_admin":false},"labels":[{"id":947190508,"node_id":"MDU6TGFiZWw5NDcxOTA1MDg=","url":"https://api.github.com/repos/ansible/ansible/labels/affects_2.7","name":"affects_2.7","color":"ededed","default":false},{"id":54811101,"node_id":"MDU6TGFiZWw1NDgxMTEwMQ==","url":"https://api.github.com/repos/ansible/ansible/labels/needs_info","name":"needs_info","color":"eb6420","default":false},{"id":572345061,"node_id":"MDU6TGFiZWw1NzIzNDUwNjE=","url":"https://api.github.com/repos/ansible/ansible/labels/needs_template","name":"needs_template","color":"f9d0c4","default":false},{"id":636352796,"node_id":"MDU6TGFiZWw2MzYzNTI3OTY=","url":"https://api.github.com/repos/ansible/ansible/labels/support:core","name":"support:core","color":"ededed","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-06-18T08:16:05Z","updated_at":"2018-09-29T22:44:18Z","closed_at":"2018-08-22T23:15:39Z","author_association":"NONE","body":"# ENV\r\n\r\n- ansible 2.5.4 (pip installed)\r\n- MacOS High Sierra\r\n\r\nLatest homebrew\r\n```\r\nbrew --version\r\nHomebrew 1.6.8\r\nHomebrew/homebrew-core (git revision f593; last commit 2018-06-18)\r\n```\r\n\r\n# case\r\nassuming you have \r\n\r\n```\r\n- homebrew_cask:\r\n    name: \"{{ java_item }}\"\r\n    state: upgraded\r\n    upgrade: true\r\n  with_items:\r\n    - java8\r\n  loop_control:\r\n    loop_var: java_item\r\n```\r\n\r\n# Expectation\r\nthe expectation would be, that ansible will try to upgrade java8 only. \r\n\r\n# Error\r\nBut in fact, it will upgrade all casks instead\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ansible/ansible/issues/comments/425680255","html_url":"https://github.com/ansible/ansible/issues/41639#issuecomment-425680255","issue_url":"https://api.github.com/repos/ansible/ansible/issues/41639","id":425680255,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNTY4MDI1NQ==","user":{"login":"danieljaouen","id":766444,"node_id":"MDQ6VXNlcjc2NjQ0NA==","avatar_url":"https://avatars2.githubusercontent.com/u/766444?v=4","gravatar_id":"","url":"https://api.github.com/users/danieljaouen","html_url":"https://github.com/danieljaouen","followers_url":"https://api.github.com/users/danieljaouen/followers","following_url":"https://api.github.com/users/danieljaouen/following{/other_user}","gists_url":"https://api.github.com/users/danieljaouen/gists{/gist_id}","starred_url":"https://api.github.com/users/danieljaouen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danieljaouen/subscriptions","organizations_url":"https://api.github.com/users/danieljaouen/orgs","repos_url":"https://api.github.com/users/danieljaouen/repos","events_url":"https://api.github.com/users/danieljaouen/events{/privacy}","received_events_url":"https://api.github.com/users/danieljaouen/received_events","type":"User","site_admin":false},"created_at":"2018-09-29T22:44:18Z","updated_at":"2018-09-29T22:44:18Z","author_association":"CONTRIBUTOR","body":"As far as I know, `brew cask upgrade` is only used to upgrade all available casks."}}
{"actor":{"display_login":"danieljaouen"}}