common/tasks/usability.yml

22 lines
378 B
YAML
Raw Permalink Normal View History

2020-01-14 03:38:43 -05:00
---
- name: Install useful packages
apt:
name:
- bash-completion
- colordiff
- less
- vim
2020-01-14 03:38:43 -05:00
- name: Install Vim config
copy:
2020-01-14 06:01:49 -05:00
src: files/usability/vimrc.local
2020-01-14 03:38:43 -05:00
dest: /etc/vim/vimrc.local
mode: 'u=rw,g=r,o=r'
owner: root
group: root
- name: Set Vim as default editor
alternatives:
name: editor
path: /usr/bin/vim.basic