diff --git a/ansible/dev.yml b/ansible/dev.yml index fa97c0c..1b531c3 100644 --- a/ansible/dev.yml +++ b/ansible/dev.yml @@ -5,6 +5,20 @@ - include: config.yml - hosts: all tasks: + - name: set zsh as default shell + user: name=alpha shell=zsh + sudo: yes + - name: symlink zprezto + file: src={{ ansible_env.HOME }}/Dropbox/dotfiles/src/prezto dest={{ ansible_env.HOME}}/.zprezto state=link + - name: symlink zsh runcoms + file: src={{ ansible_env.HOME }}/Dropbox/dotfiles/src/prezto/runcoms/{{ item }} dest={{ ansible_env.HOME}}/.{{ item }} state=link + with_items: + - zlogin + - zlogout + - zpreztorc + - zprofile + - zshenv + - zshrc - name: setup ssh keys local_action: command ruby ~/.dotfiles/scripts/setup_ssh_keys.rb when: ansible_domain == "local"