summaryrefslogtreecommitdiff
path: root/roles/common-linux/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'roles/common-linux/tasks')
-rw-r--r--roles/common-linux/tasks/vim.yml31
1 files changed, 31 insertions, 0 deletions
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