Separate upgrade and install into two tasks.

This commit is contained in:
staticsafe 2013-08-13 08:36:21 -04:00
parent 9cee9f42a0
commit 8c9876b901
1 changed files with 4 additions and 2 deletions

View File

@ -4,8 +4,10 @@
tasks:
- name: Install python-apt and aptitude
shell: apt-get update && apt-get install python-apt aptitude
- name: Do any package upgrades and install required things
apt: upgrade=dist pkg=most,zsh,vim,vim-scripts,git,subversion,tmux,multitail,mtr-tiny,curl,dnsutils,sudo state=present
- name: Do any package upgrades
apt: upgrade=dist
- name: Install required things
apt: pkg=most,zsh,vim,vim-scripts,git,subversion,tmux,multitail,mtr-tiny,curl,dnsutils,sudo state=present
- name: Get dotfiles repo
git: repo=https://github.com/staticsafe/dotfiles.git dest=~/dotfiles
- name: Run envsetup script from dotfiles repo