Try fix directory copy and add moc config

This commit is contained in:
2018-08-23 16:54:27 +02:00
parent 515e352f41
commit 87bdfdcd23
5 changed files with 836 additions and 1 deletions

View File

@@ -43,12 +43,18 @@
state: latest
- name: Copy .vim/
template:
copy:
src: files/vim/
dest: /home/{{ item.username }}/.vim/
owner: "{{ item.username }}"
with_items: "{{ me }}"
- name: Creates .vim/autoload/
file:
path: /home/{{ item.username }}/.vim/autoload/
state: directory
with_items: "{{ me }}"
- name: Download plug.vim
get_url:
url: https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
@@ -62,3 +68,11 @@
dest: /home/{{ item.username }}/.vimrc
owner: "{{ item.username }}"
with_items: "{{ me }}"
- name: Copy .moc/
copy:
src: files/moc/
dest: /home/{{ item.username }}/.moc/
owner: "{{ item.username }}"
with_items: "{{ me }}"
when: not minimal