{"action":"created","issue":{"url":"https://api.github.com/repos/neillturner/kitchen-ansible/issues/98","labels_url":"https://api.github.com/repos/neillturner/kitchen-ansible/issues/98/labels{/name}","comments_url":"https://api.github.com/repos/neillturner/kitchen-ansible/issues/98/comments","events_url":"https://api.github.com/repos/neillturner/kitchen-ansible/issues/98/events","html_url":"https://github.com/neillturner/kitchen-ansible/issues/98","id":111858975,"number":98,"title":"Please add OS X support","user":{"login":"ahrenstein","id":3987057,"avatar_url":"https://avatars.githubusercontent.com/u/3987057?v=3","gravatar_id":"","url":"https://api.github.com/users/ahrenstein","html_url":"https://github.com/ahrenstein","followers_url":"https://api.github.com/users/ahrenstein/followers","following_url":"https://api.github.com/users/ahrenstein/following{/other_user}","gists_url":"https://api.github.com/users/ahrenstein/gists{/gist_id}","starred_url":"https://api.github.com/users/ahrenstein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahrenstein/subscriptions","organizations_url":"https://api.github.com/users/ahrenstein/orgs","repos_url":"https://api.github.com/users/ahrenstein/repos","events_url":"https://api.github.com/users/ahrenstein/events{/privacy}","received_events_url":"https://api.github.com/users/ahrenstein/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/neillturner/kitchen-ansible/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-16T15:52:06Z","updated_at":"2015-11-07T01:11:41Z","closed_at":null,"body":"Using the vmware_fusion provider and OS X vagrant boxes, Ansible does not work.\r\n\r\n```\r\nTransferring files to <default-mavericks>\r\n       Going to invoke ansible-playbook with: sudo -E PATH=/tmp/kitchen/ansible/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games PYTHONPATH=/tmp/kitchen/ansible/lib MANPATH=/tmp/kitchen/ansible/docs/man /tmp/kitchen/ansible/bin/ansible-playbook --inventory-file=/tmp/kitchen/inventory -c local -M /tmp/kitchen/modules -vvv       /tmp/kitchen/site.yml\r\n       sudo: /tmp/kitchen/ansible/bin/ansible-playbook: command not found\r\n>>>>>> Converge failed on instance <default-mavericks>.\r\n>>>>>> Please see .kitchen/logs/default-mavericks.log for more details\r\n>>>>>> ------Exception-------\r\n>>>>>> Class: Kitchen::ActionFailed\r\n>>>>>> Message: SSH exited (1) for command: [sudo -E PATH=/tmp/kitchen/ansible/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games PYTHONPATH=/tmp/kitchen/ansible/lib MANPATH=/tmp/kitchen/ansible/docs/man /tmp/kitchen/ansible/bin/ansible-playbook --inventory-file=/tmp/kitchen/inventory -c local -M /tmp/kitchen/modules -vvv       /tmp/kitchen/site.yml]\r\n```\r\n\r\nIt seems ansible is not copied over to the system"},"comment":{"url":"https://api.github.com/repos/neillturner/kitchen-ansible/issues/comments/154593696","html_url":"https://github.com/neillturner/kitchen-ansible/issues/98#issuecomment-154593696","issue_url":"https://api.github.com/repos/neillturner/kitchen-ansible/issues/98","id":154593696,"user":{"login":"trinitronx","id":122524,"avatar_url":"https://avatars.githubusercontent.com/u/122524?v=3","gravatar_id":"","url":"https://api.github.com/users/trinitronx","html_url":"https://github.com/trinitronx","followers_url":"https://api.github.com/users/trinitronx/followers","following_url":"https://api.github.com/users/trinitronx/following{/other_user}","gists_url":"https://api.github.com/users/trinitronx/gists{/gist_id}","starred_url":"https://api.github.com/users/trinitronx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trinitronx/subscriptions","organizations_url":"https://api.github.com/users/trinitronx/orgs","repos_url":"https://api.github.com/users/trinitronx/repos","events_url":"https://api.github.com/users/trinitronx/events{/privacy}","received_events_url":"https://api.github.com/users/trinitronx/received_events","type":"User","site_admin":false},"created_at":"2015-11-07T01:11:41Z","updated_at":"2015-11-07T01:11:41Z","body":"@ahrenstein: This is more of a generic issue with the high barrier to getting a working OS X vagrant box, since there is no official public one (probably because the OS X licence agreement only allows running OS X VMs on already purchased Mac hardware, and everyone's scared of posting one publicly and trusting people to only run it there).  I have tried in the past to get this working for various reasons, and was only able to with `vmware_fusion`, and on an older Macbook which I no longer possess.  Anyway, this is a long-winded way of saying that I haven't had the time to create a new working OS X vagrant box & get something working and tested, although for another home project I do need such a box.\r\n\r\nPractically speaking, there is a way to solve the problem.\r\n\r\nAnsible is on Homebrew, so it's just a matter of detecting OS X as a platform, getting homebrew installed & running `brew install ansible`."}}