{"action":"created","issue":{"url":"https://api.github.com/repos/moonglum/dotfiles/issues/42","labels_url":"https://api.github.com/repos/moonglum/dotfiles/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/moonglum/dotfiles/issues/42/comments","events_url":"https://api.github.com/repos/moonglum/dotfiles/issues/42/events","html_url":"https://github.com/moonglum/dotfiles/pull/42","id":97143579,"number":42,"title":"Vagrant and ansible","user":{"login":"moonglum","id":95788,"avatar_url":"https://avatars.githubusercontent.com/u/95788?v=3","gravatar_id":"","url":"https://api.github.com/users/moonglum","html_url":"https://github.com/moonglum","followers_url":"https://api.github.com/users/moonglum/followers","following_url":"https://api.github.com/users/moonglum/following{/other_user}","gists_url":"https://api.github.com/users/moonglum/gists{/gist_id}","starred_url":"https://api.github.com/users/moonglum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moonglum/subscriptions","organizations_url":"https://api.github.com/users/moonglum/orgs","repos_url":"https://api.github.com/users/moonglum/repos","events_url":"https://api.github.com/users/moonglum/events{/privacy}","received_events_url":"https://api.github.com/users/moonglum/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-07-24T20:46:26Z","updated_at":"2015-07-29T06:25:49Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/moonglum/dotfiles/pulls/42","html_url":"https://github.com/moonglum/dotfiles/pull/42","diff_url":"https://github.com/moonglum/dotfiles/pull/42.diff","patch_url":"https://github.com/moonglum/dotfiles/pull/42.patch"},"body":"I've been using this since I have my new Mac (April). There are still some rough edges, but I like it a lot. Here are the problems:\r\n\r\n* [x] Do a `chsh -s /bin/zsh` as the user\r\n* [ ] Download GitHub release and put executable into `usr/local/bin`: [hub](https://github.com/github/hub/releases/latest) (add alias again), [icdiff](https://github.com/jeffkaufman/icdiff/releases/latest), [leiningen](https://github.com/technomancy/leiningen/releases/latest)\r\n* [ ] Install [pip packages](http://docs.ansible.com/ansible/pip_module.html) (first add `python3 python3-pip` to apt packages): [pgcli](http://pgcli.com)\r\n* [ ] Install cabal packages: idris\r\n* [ ] Install elixir\r\n* [ ] Install antlr\r\n* [ ] Install rust: First download [rustup](curl -sSf https://static.rust-lang.org/rustup.sh), then execute it with the `--yes` flag.\r\n* [ ] Install [Ruby gems](http://docs.ansible.com/ansible/gem_module.html) for each of the installed rubies: tmuxinator\r\n* [x] Install [global NPM modules](http://docs.ansible.com/ansible/npm_module.html): `npm`, `jslint`, `jshint`, `jscs`\r\n* [ ] Fix weird Ruby issues: Certain packages can't be installed (like Nokogiri). There is an old version of Ruby (alongside Chef, Ansible and Puppet) flying around, which should probably be removed before RVM is installed. Maybe I'll try [ruby-install](https://github.com/postmodern/ruby-install)...\r\n* [x] Do the marking for `j` in ansible (see aliases.sh, “mark()” ) \r\n* [ ] [Create the postgres user](http://docs.ansible.com/ansible/postgresql_user_module.html) `vagrant`\r\n* [ ] Fix `csi`"},"comment":{"url":"https://api.github.com/repos/moonglum/dotfiles/issues/comments/125854624","html_url":"https://github.com/moonglum/dotfiles/pull/42#issuecomment-125854624","issue_url":"https://api.github.com/repos/moonglum/dotfiles/issues/42","id":125854624,"user":{"login":"moonglum","id":95788,"avatar_url":"https://avatars.githubusercontent.com/u/95788?v=3","gravatar_id":"","url":"https://api.github.com/users/moonglum","html_url":"https://github.com/moonglum","followers_url":"https://api.github.com/users/moonglum/followers","following_url":"https://api.github.com/users/moonglum/following{/other_user}","gists_url":"https://api.github.com/users/moonglum/gists{/gist_id}","starred_url":"https://api.github.com/users/moonglum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moonglum/subscriptions","organizations_url":"https://api.github.com/users/moonglum/orgs","repos_url":"https://api.github.com/users/moonglum/repos","events_url":"https://api.github.com/users/moonglum/events{/privacy}","received_events_url":"https://api.github.com/users/moonglum/received_events","type":"User","site_admin":false},"created_at":"2015-07-29T06:25:49Z","updated_at":"2015-07-29T06:25:49Z","body":"* Need to re-add the `id` for the Erlang solution key.\r\n* The rvm role breaks from time to time to unknown reasons... :angry: Maybe it's time to switch to ruby-install and chruby...\r\n\r\nInstalling node:\r\n\r\n```\r\nsudo mkdir /opt/nodejs\r\nwget https://nodejs.org/dist/v0.12.7/node-v0.12.7-linux-x64.tar.gz [/tmp]\r\ntar -xzf node-v0.12.7-linux-x64.tar.gz\r\nmv to /opt/nodejs\r\nsudo ln -s /opt/nodejs/bin/node /usr/local/bin/node\r\nsudo ln -s /opt/nodejs/bin/npm /usr/local/bin/npm\r\n```\r\n\r\nReacting to a change in the Node.js version:\r\n\r\n```yaml\r\n- name: node.js | Check if the node version is already installed\r\n  command: node --version\r\n  ignore_errors: yes\r\n  register: node_version\r\n  changed_when: node_version.rc != 0 or node_version.stdout != \"v{{ nodejs_version }}\"\r\n```"}}