diff options
author | Alan Pearce | 2017-03-17 09:48:24 +0100 |
---|---|---|
committer | Alan Pearce | 2017-03-17 09:48:24 +0100 |
commit | 397ce671bb028802d528faf8811101e08557e527 (patch) | |
tree | 6a3b0004c7fcbe334f05a50aad483316c6577887 /vagrant/.vagrant.d/ansible/site.yml | |
parent | db6903e6fab9cff359a530ca2eee6ba3c7e44525 (diff) | |
download | nixfiles-397ce671bb028802d528faf8811101e08557e527.tar.lz nixfiles-397ce671bb028802d528faf8811101e08557e527.tar.zst nixfiles-397ce671bb028802d528faf8811101e08557e527.zip |
Re-structure tags to GNU stow format
Diffstat (limited to 'vagrant/.vagrant.d/ansible/site.yml')
-rw-r--r-- | vagrant/.vagrant.d/ansible/site.yml | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/vagrant/.vagrant.d/ansible/site.yml b/vagrant/.vagrant.d/ansible/site.yml new file mode 100644 index 00000000..13384550 --- /dev/null +++ b/vagrant/.vagrant.d/ansible/site.yml @@ -0,0 +1,32 @@ +--- +- hosts: all + sudo: yes + vars: + packages: + - zsh + - htop + - lsof + - git + - rcm + tasks: + - include: centos.yml + when: ansible_distribution == "CentOS" + + - include: debian.yml + when: ansible_distribution == "Debian" + + - name: Ensure that dotfiles are checked out + sudo: no + git: + repo: git://github.com/alanpearce/dotfiles + dest: ~/dotfiles + update: yes + + - name: Change shell to zsh + user: + name: vagrant + shell: /bin/zsh + + - name: Install dotfiles + sudo: no + command: /usr/bin/rcup -d dotfiles -t zsh -t git -x README.org -x Brewfile -x LaunchAgents chdir=/home/vagrant \ No newline at end of file |