diff options
Diffstat (limited to 'roles/common-linux/tasks/vim.yml')
| -rw-r--r-- | roles/common-linux/tasks/vim.yml | 30 |
1 files changed, 28 insertions, 2 deletions
diff --git a/roles/common-linux/tasks/vim.yml b/roles/common-linux/tasks/vim.yml index 1716c03..84211e8 100644 --- a/roles/common-linux/tasks/vim.yml +++ b/roles/common-linux/tasks/vim.yml @@ -7,25 +7,51 @@ file: path: /home/horus/.vim state: directory + owner: horus + +- name: change owner of .vim to user + file: + #recurse: true + path: /home/horus/.vim/ + mode: 0744 + owner: horus + group: horus - name: git clone vundle for user + become: true + become_user: horus git: repo: https://github.com/VundleVim/Vundle.vim.git dest: /home/horus/.vim/bundle/Vundle.vim + clone: yes + update: yes + +- name: git clone ryanss/vim-hackernews + become: true + become_user: horus + git: + repo: https://git.iamfabulous.de/vim-hn + dest: /home/horus/.vim/bundle/vim-hackernews - name: git clone vundle for root git: repo: https://github.com/VundleVim/Vundle.vim.git dest: /root/.vim/bundle/Vundle.vim +- name: git clone ryanss/vim-hackernews for root + git: + repo: https://git.iamfabulous.de/vim-hn + dest: /root/.vim/bundle/vim-hackernews + - name: copy .vimrc for ~horus copy: src: .vimrc dest: /home/horus/.vimrc - mode: 744 + mode: 0644 + owner: horus - name: copy .vimrc for ~root copy: src: .vimrc dest: /root/.vimrc - mode: 744 + mode: 0644 |
