summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--roles/install_admin_packages/files/vimrc13
-rw-r--r--roles/install_admin_packages/tasks/main.yml5
2 files changed, 18 insertions, 0 deletions
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