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 |
Zack Williams | 6c3b873 | 2016-03-15 09:57:07 -0700 | [diff] [blame^] | 5 | apt: |
| 6 | upgrade=dist |
| 7 | update_cache=yes |
| 8 | cache_valid_time=3600 |
Zack Williams | a9421e2 | 2016-03-02 13:53:37 -0700 | [diff] [blame] | 9 | notify: |
Zack Williams | 6c3b873 | 2016-03-15 09:57:07 -0700 | [diff] [blame^] | 10 | - restart host |
| 11 | - wait for host |
Zack Williams | 8625d04 | 2016-02-26 14:32:43 -0700 | [diff] [blame] | 12 | |
| 13 | - name: Install standard packages |
| 14 | apt: pkg={{ item }} state=present |
| 15 | with_items: |
| 16 | - tmux |
| 17 | - vim |
| 18 | |
| 19 | - name: Enable vim syntax highlighting |
| 20 | lineinfile: dest=/etc/vim/vimrc |
| 21 | regexp="^\s*syntax on" |
| 22 | line="syntax on" |
Zack Williams | a9421e2 | 2016-03-02 13:53:37 -0700 | [diff] [blame] | 23 | |