{"action":"created","issue":{"url":"https://api.github.com/repos/xenocid/dotfiles2/issues/2","labels_url":"https://api.github.com/repos/xenocid/dotfiles2/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/xenocid/dotfiles2/issues/2/comments","events_url":"https://api.github.com/repos/xenocid/dotfiles2/issues/2/events","html_url":"https://github.com/xenocid/dotfiles2/issues/2","id":94514841,"number":2,"title":"file is marked as executable, but failed to execute correctly","user":{"login":"bawbgale","id":1117967,"avatar_url":"https://avatars.githubusercontent.com/u/1117967?v=3","gravatar_id":"","url":"https://api.github.com/users/bawbgale","html_url":"https://github.com/bawbgale","followers_url":"https://api.github.com/users/bawbgale/followers","following_url":"https://api.github.com/users/bawbgale/following{/other_user}","gists_url":"https://api.github.com/users/bawbgale/gists{/gist_id}","starred_url":"https://api.github.com/users/bawbgale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bawbgale/subscriptions","organizations_url":"https://api.github.com/users/bawbgale/orgs","repos_url":"https://api.github.com/users/bawbgale/repos","events_url":"https://api.github.com/users/bawbgale/events{/privacy}","received_events_url":"https://api.github.com/users/bawbgale/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-11T23:02:29Z","updated_at":"2015-07-16T05:49:54Z","closed_at":null,"body":"When I run `sh configure-osx.sh` I get:\r\n```\r\nERROR: The file /Users/bob/.ansible.d/inventories/osx is marked as executable, but failed to execute correctly. If this is not supposed to be an executable script, correct this with `chmod -x /Users/bob/.ansible.d/inventories/osx`.\r\n```"},"comment":{"url":"https://api.github.com/repos/xenocid/dotfiles2/issues/comments/121840670","html_url":"https://github.com/xenocid/dotfiles2/issues/2#issuecomment-121840670","issue_url":"https://api.github.com/repos/xenocid/dotfiles2/issues/2","id":121840670,"user":{"login":"bawbgale","id":1117967,"avatar_url":"https://avatars.githubusercontent.com/u/1117967?v=3","gravatar_id":"","url":"https://api.github.com/users/bawbgale","html_url":"https://github.com/bawbgale","followers_url":"https://api.github.com/users/bawbgale/followers","following_url":"https://api.github.com/users/bawbgale/following{/other_user}","gists_url":"https://api.github.com/users/bawbgale/gists{/gist_id}","starred_url":"https://api.github.com/users/bawbgale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bawbgale/subscriptions","organizations_url":"https://api.github.com/users/bawbgale/orgs","repos_url":"https://api.github.com/users/bawbgale/repos","events_url":"https://api.github.com/users/bawbgale/events{/privacy}","received_events_url":"https://api.github.com/users/bawbgale/received_events","type":"User","site_admin":false},"created_at":"2015-07-16T05:49:54Z","updated_at":"2015-07-16T05:49:54Z","body":"@xenocid Finally figured out what I was doing wrong. I kept running chmod on the file via the command line, but the file is regenerating every time I run Ansible. Then it dawned on me: It's Ansible. I can tell it what to do! So I added `chmod -x $ANSIBLE_CONFIGURATION_DIRECTORY/inventories/osx` to `configure-osx.sh` and it worked! "}}