summaryrefslogtreecommitdiff
path: root/roles/common-linux/tasks/vim.yml
blob: 1716c035ee00d8734ad6f20194aa9da794467b02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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