From 41b22ed59b80bc49275ebc5b2f2fed5a7c1863a0 Mon Sep 17 00:00:00 2001 From: Niklas Yann Wettengel Date: Fri, 26 Jan 2018 14:25:23 +0100 Subject: [PATCH] added vimrc --- roles/install_admin_packages/files/vimrc | 13 +++++++++++++ roles/install_admin_packages/tasks/main.yml | 5 +++++ 2 files changed, 18 insertions(+) create mode 100644 roles/install_admin_packages/files/vimrc diff --git a/roles/install_admin_packages/files/vimrc b/roles/install_admin_packages/files/vimrc new file mode 100644 index 0000000..8aea475 --- /dev/null +++ b/roles/install_admin_packages/files/vimrc @@ -0,0 +1,13 @@ +set tabstop=4 +set shiftwidth=4 +"set expandtab +set number +set autoindent +set laststatus=2 +syntax on +colorscheme darkblue + +set nocompatible " be iMproved +filetype off " required! + +filetype plugin indent on " required! diff --git a/roles/install_admin_packages/tasks/main.yml b/roles/install_admin_packages/tasks/main.yml index 856adfb..23f591a 100644 --- a/roles/install_admin_packages/tasks/main.yml +++ b/roles/install_admin_packages/tasks/main.yml @@ -28,3 +28,8 @@ copy: src: bashrc dest: /root/.bashrc + +- name: copy vimrc + copy: + src: vimrc + dest: /root/.vimrc