Separate upgrade and install into two tasks.
This commit is contained in:
parent
9cee9f42a0
commit
8c9876b901
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue