{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/252","labels_url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/252/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/252/comments","events_url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/252/events","html_url":"https://github.com/ansible/ansible-modules-extras/issues/252","id":57496853,"number":252,"title":"Brew install when package name contains \"/\"","user":{"login":"kdisneur","id":822839,"avatar_url":"https://avatars.githubusercontent.com/u/822839?v=3","gravatar_id":"","url":"https://api.github.com/users/kdisneur","html_url":"https://github.com/kdisneur","followers_url":"https://api.github.com/users/kdisneur/followers","following_url":"https://api.github.com/users/kdisneur/following{/other_user}","gists_url":"https://api.github.com/users/kdisneur/gists{/gist_id}","starred_url":"https://api.github.com/users/kdisneur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kdisneur/subscriptions","organizations_url":"https://api.github.com/users/kdisneur/orgs","repos_url":"https://api.github.com/users/kdisneur/repos","events_url":"https://api.github.com/users/kdisneur/events{/privacy}","received_events_url":"https://api.github.com/users/kdisneur/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ansible/ansible-modules-extras/labels/bug_report","name":"bug_report","color":"fbca04"},{"url":"https://api.github.com/repos/ansible/ansible-modules-extras/labels/P3","name":"P3","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-12T18:06:39Z","updated_at":"2015-05-10T21:12:32Z","closed_at":null,"body":"I tried to install `cask` with `ansible` and I have the following errors: `msg: Invalid package: caskroom/cask/brew-cask.`\r\n\r\nIt's because there is some slashes in the name and, in the ansible task, the `/` seems to not be allowed. I tried to add the slash in the `VALID_PACKAGE_CHARS` constant, it works like a charm.\r\n\r\nI've not opened a pull request yet, because I would like to have your feedback before: there is a reason the slash was not allowed in the regex or is it just an oversight?\r\n\r\nCheers,"},"comment":{"url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/comments/100702788","html_url":"https://github.com/ansible/ansible-modules-extras/issues/252#issuecomment-100702788","issue_url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/252","id":100702788,"user":{"login":"tobywf","id":2903454,"avatar_url":"https://avatars.githubusercontent.com/u/2903454?v=3","gravatar_id":"","url":"https://api.github.com/users/tobywf","html_url":"https://github.com/tobywf","followers_url":"https://api.github.com/users/tobywf/followers","following_url":"https://api.github.com/users/tobywf/following{/other_user}","gists_url":"https://api.github.com/users/tobywf/gists{/gist_id}","starred_url":"https://api.github.com/users/tobywf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobywf/subscriptions","organizations_url":"https://api.github.com/users/tobywf/orgs","repos_url":"https://api.github.com/users/tobywf/repos","events_url":"https://api.github.com/users/tobywf/events{/privacy}","received_events_url":"https://api.github.com/users/tobywf/received_events","type":"User","site_admin":false},"created_at":"2015-05-10T21:12:32Z","updated_at":"2015-05-10T21:12:32Z","body":"I've also hit this issue. `homebrew_tap` does provide a workaround in some cases, but it's not ideal. This sounds similar to ansible/ansible#7991 and ansible/ansible#8413 where \"+\" and \".\" where left out of the filter.\r\n\r\n@kdisneur: Do you want to submit the PR? Otherwise, I'll submit one later this week."}}