Zack Williams | 8625d04 | 2016-02-26 14:32:43 -0700 | [diff] [blame] | 1 | --- |
| 2 | # file: roles/common-prep/tasks/main.yml |
| 3 | |
| 4 | - name: Upgrade system to current using apt |
| 5 | apt: update_cache=yes upgrade=dist |
Zack Williams | a9421e2 | 2016-03-02 13:53:37 -0700 | [diff] [blame] | 6 | notify: |
| 7 | - restart machine |
| 8 | - wait for machine |
Zack Williams | 8625d04 | 2016-02-26 14:32:43 -0700 | [diff] [blame] | 9 | |
| 10 | - name: Install standard packages |
| 11 | apt: pkg={{ item }} state=present |
| 12 | with_items: |
| 13 | - tmux |
| 14 | - vim |
| 15 | |
| 16 | - name: Enable vim syntax highlighting |
| 17 | lineinfile: dest=/etc/vim/vimrc |
| 18 | regexp="^\s*syntax on" |
| 19 | line="syntax on" |
Zack Williams | a9421e2 | 2016-03-02 13:53:37 -0700 | [diff] [blame] | 20 | |