{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible/issues/48796","repository_url":"https://api.github.com/repos/ansible/ansible","labels_url":"https://api.github.com/repos/ansible/ansible/issues/48796/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible/issues/48796/comments","events_url":"https://api.github.com/repos/ansible/ansible/issues/48796/events","html_url":"https://github.com/ansible/ansible/issues/48796","id":381566214,"node_id":"MDU6SXNzdWUzODE1NjYyMTQ=","number":48796,"title":"homebrew_cask: \"You must select a cask to install\"","user":{"login":"Trane9991","id":9948629,"node_id":"MDQ6VXNlcjk5NDg2Mjk=","avatar_url":"https://avatars1.githubusercontent.com/u/9948629?v=4","gravatar_id":"","url":"https://api.github.com/users/Trane9991","html_url":"https://github.com/Trane9991","followers_url":"https://api.github.com/users/Trane9991/followers","following_url":"https://api.github.com/users/Trane9991/following{/other_user}","gists_url":"https://api.github.com/users/Trane9991/gists{/gist_id}","starred_url":"https://api.github.com/users/Trane9991/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Trane9991/subscriptions","organizations_url":"https://api.github.com/users/Trane9991/orgs","repos_url":"https://api.github.com/users/Trane9991/repos","events_url":"https://api.github.com/users/Trane9991/events{/privacy}","received_events_url":"https://api.github.com/users/Trane9991/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":785271699,"node_id":"MDU6TGFiZWw3ODUyNzE2OTk=","url":"https://api.github.com/repos/ansible/ansible/labels/bug","name":"bug","color":"fbca04","default":true},{"id":496359346,"node_id":"MDU6TGFiZWw0OTYzNTkzNDY=","url":"https://api.github.com/repos/ansible/ansible/labels/module","name":"module","color":"1d76db","default":false},{"id":503572087,"node_id":"MDU6TGFiZWw1MDM1NzIwODc=","url":"https://api.github.com/repos/ansible/ansible/labels/needs_triage","name":"needs_triage","color":"0e8a16","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":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-11-16T11:46:18Z","updated_at":"2018-11-21T15:57:46Z","closed_at":null,"author_association":"NONE","body":"##### SUMMARY\r\n`homebrew_cask`  has `name` property required, so I can't simply run `update_homebrew` operation without installing anything\r\n\r\n##### ISSUE TYPE\r\n- Bug Report\r\n\r\n##### COMPONENT NAME\r\n<!--- Write the short name of the module, plugin, task or feature below -->\r\nhomebrew_cask\r\n\r\n##### ANSIBLE VERSION\r\n<!--- Paste verbatim output from \"ansible --version\" between quotes -->\r\n```paste below\r\nansible 2.7.1\r\n  python version = 3.7.1 (default, Nov  6 2018, 18:46:03) [Clang 10.0.0 (clang-1000.11.45.5)]\r\n```\r\n\r\n##### OS / ENVIRONMENT\r\nMacOS\r\n\r\n##### STEPS TO REPRODUCE\r\n```yaml\r\n  - name: Update brew cask\r\n    homebrew_cask:\r\n      update_homebrew: yes\r\n```\r\n\r\n##### EXPECTED RESULTS\r\nExecuted `homebrew cask update` command\r\n\r\n##### ACTUAL RESULTS\r\n`FAILED! => {\"changed\": false, \"msg\": \"You must select a cask to install.\"}`\r\n"},"comment":{"url":"https://api.github.com/repos/ansible/ansible/issues/comments/440717307","html_url":"https://github.com/ansible/ansible/issues/48796#issuecomment-440717307","issue_url":"https://api.github.com/repos/ansible/ansible/issues/48796","id":440717307,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MDcxNzMwNw==","user":{"login":"Trane9991","id":9948629,"node_id":"MDQ6VXNlcjk5NDg2Mjk=","avatar_url":"https://avatars1.githubusercontent.com/u/9948629?v=4","gravatar_id":"","url":"https://api.github.com/users/Trane9991","html_url":"https://github.com/Trane9991","followers_url":"https://api.github.com/users/Trane9991/followers","following_url":"https://api.github.com/users/Trane9991/following{/other_user}","gists_url":"https://api.github.com/users/Trane9991/gists{/gist_id}","starred_url":"https://api.github.com/users/Trane9991/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Trane9991/subscriptions","organizations_url":"https://api.github.com/users/Trane9991/orgs","repos_url":"https://api.github.com/users/Trane9991/repos","events_url":"https://api.github.com/users/Trane9991/events{/privacy}","received_events_url":"https://api.github.com/users/Trane9991/received_events","type":"User","site_admin":false},"created_at":"2018-11-21T15:57:46Z","updated_at":"2018-11-21T15:57:46Z","author_association":"NONE","body":"@MaxWinterstein sorry, bad example. The new one, for example.\r\nUpgrade all casks on host, should be done by:\r\n```\r\n  - name: Upgrade brew casks\r\n    homebrew:_cask\r\n      upgrade_all: yes\r\n```\r\nbut it will not work, while\r\n```\r\n  - name: Upgrade brew packages\r\n    homebrew:\r\n      upgrade_all: yes\r\n```\r\nworks fine"}}
{"actor":{"display_login":"Trane9991"}}