Created
December 30, 2014 00:04
-
-
Save kitplummer/d5520fe8fe166caee625 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- hosts: all | |
remote_user: vagrant | |
sudo: yes | |
pre_tasks: | |
- name: add git-core repo | |
apt_repository: repo='ppa:git-core/ppa' | |
- name: ensure curl is installed | |
apt: name=curl | |
- name: ensure git is installed | |
apt: name=git update_cache=yes | |
- name: ensure mysql-client is installed | |
apt: name=mysql-client | |
roles: | |
- { role: rvm_io.rvm1-ruby, sudo: True, tags: ruby, | |
rvm1_install_flags: '--auto-dotfiles --user-install', | |
rvm1_install_path: '/home/{{ansible_ssh_user}}/.rvm' } | |
tasks: | |
- name: copy and place template gitconfig file | |
copy: src=gitconfig.template dest=/home/vagrant/.gitconfig owner=vagrant | |
- name: set perms on the clone | |
shell: chown -R vagrant.vagrant /home/vagrant |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment