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