Add "tasks/usability.yml"

This commit is contained in:
Alex Kotov 2020-01-14 13:38:43 +05:00
parent c4d619a5a7
commit 71a2f9269d
Signed by: kotovalexarian
GPG Key ID: 553C0EBBEB5D5F08
2 changed files with 19 additions and 17 deletions

View File

@ -1,18 +1,2 @@
---
- name: Install useful packages
apt:
update_cache: true
name: ['bash-completion', 'colordiff', 'curl', 'less', 'vim']
- name: Install Vim config
copy:
src: files/vimrc.local
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
- include_tasks: usability.yml

18
tasks/usability.yml Normal file
View File

@ -0,0 +1,18 @@
---
- name: Install useful packages
apt:
update_cache: true
name: ['bash-completion', 'colordiff', 'curl', 'less', 'vim']
- name: Install Vim config
copy:
src: files/vimrc.local
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