---
- name: install basic packages
package:
name:
- aptitude
- git
- tmux
- tree
state: latest
- name: clone dotfiles
become_user: "{{ account.name }}"
git:
repo: git@github.com:mandlm/dotfiles.git
dest: "{{ dotfiles }}"
accept_hostkey: yes
update: no
- name: install zsh config
shell:
chdir: "{{ dotfiles }}/zsh"
cmd: ./install.sh
creates: "{{ account.home }}/.zshrc"
- name: install tmux plugin manager
repo: https://github.com/tmux-plugins/tpm.git
dest: "{{ account.home }}/.tmux/plugins/tpm"
- name: install tmux config
chdir: "{{ dotfiles }}/tmux"
creates: "{{ account.home }}/.tmux.conf"
- name: install git config
chdir: "{{ dotfiles }}/git"
creates: "{{ account.home }}/.gitconfig"