[ansible] Split out tasks that need sudo

pull/28/head
Alpha Chen 10 years ago
parent d01c77c4dc
commit 98f38358a6

@ -0,0 +1,6 @@
- hosts: all
sudo: yes
tasks:
- name: set zsh as default shell
# user: name=alpha shell=zsh
command: chsh -s zsh alpha

@ -5,9 +5,6 @@
- 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

Loading…
Cancel
Save