summaryrefslogtreecommitdiff
path: root/roles
diff options
context:
space:
mode:
authorNiklas Yann Wettengel <niyawe@niyawe.de>2018-01-26 14:25:23 +0100
committerNiklas Yann Wettengel <niyawe@niyawe.de>2018-01-26 14:25:23 +0100
commit41b22ed59b80bc49275ebc5b2f2fed5a7c1863a0 (patch)
tree9930fb57f7aa07316d409fc34faacb3784ce8b8a /roles
parent8225aa0e7c76b10a4a4eec23b317545705b1bc7e (diff)
added vimrc
Diffstat (limited to 'roles')
-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