From 31dbecc7892afd156a560ee890314e6f2edae4ae Mon Sep 17 00:00:00 2001 From: Maximilian Möhring Date: Thu, 19 Sep 2024 10:25:09 +0200 Subject: add vim --- roles/common-linux/tasks/vim.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 roles/common-linux/tasks/vim.yml (limited to 'roles/common-linux/tasks') diff --git a/roles/common-linux/tasks/vim.yml b/roles/common-linux/tasks/vim.yml new file mode 100644 index 0000000..1716c03 --- /dev/null +++ b/roles/common-linux/tasks/vim.yml @@ -0,0 +1,31 @@ +- name: mkdir ~root/.vim + file: + path: /root/.vim + state: directory + +- name: mkdir ~horus/.vim + file: + path: /home/horus/.vim + state: directory + +- name: git clone vundle for user + git: + repo: https://github.com/VundleVim/Vundle.vim.git + dest: /home/horus/.vim/bundle/Vundle.vim + +- name: git clone vundle for root + git: + repo: https://github.com/VundleVim/Vundle.vim.git + dest: /root/.vim/bundle/Vundle.vim + +- name: copy .vimrc for ~horus + copy: + src: .vimrc + dest: /home/horus/.vimrc + mode: 744 + +- name: copy .vimrc for ~root + copy: + src: .vimrc + dest: /root/.vimrc + mode: 744 -- cgit v1.2.3