Fix(Choux): Add group for config files

This commit is contained in:
Bertrand Benjamin 2018-10-17 11:40:09 +02:00
parent f2e823f8b8
commit 5fe2aff594

View File

@ -19,6 +19,7 @@
src: files/tmux.conf
dest: /home/{{ item.username }}/.tmux.conf
owner: "{{ item.username }}"
group: "{{ item.username }}"
with_items: "{{ me }}"
- name: Install tmuxinator
@ -31,6 +32,7 @@
src: files/zshrc.local
dest: /home/{{ item.username }}/.zshrc.local
owner: "{{ item.username }}"
group: "{{ item.username }}"
with_items: "{{ me }}"
- name: Copy .vim/
@ -38,6 +40,7 @@
src: files/vim/
dest: /home/{{ item.username }}/.vim/
owner: "{{ item.username }}"
group: "{{ item.username }}"
with_items: "{{ me }}"
- name: Creates .vim/autoload/
@ -51,6 +54,7 @@
url: https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
dest: /home/{{ item.username }}/.vim/autoload/plug.vim
owner: "{{ item.username }}"
group: "{{ item.username }}"
with_items: "{{ me }}"
- name: Copy vimrc
@ -58,6 +62,7 @@
src: files/vimrc
dest: /home/{{ item.username }}/.vimrc
owner: "{{ item.username }}"
group: "{{ item.username }}"
with_items: "{{ me }}"
- name: Copy .moc/
@ -65,6 +70,7 @@
src: files/moc/
dest: /home/{{ item.username }}/.moc/
owner: "{{ item.username }}"
group: "{{ item.username }}"
with_items: "{{ me }}"
when: not minimal and not server
@ -73,6 +79,7 @@
path: /home/{{ item.username }}/.ssh/
state: directory
owner: "{{ item.username }}"
group: "{{ item.username }}"
with_items: "{{ me }}"
- name: Copy ssh user config
@ -80,6 +87,7 @@
src: files/sshconfig
dest: /home/{{ item.username }}/.ssh/config
owner: "{{ item.username }}"
group: "{{ item.username }}"
with_items: "{{ me }}"
- name: Copy gitconfig
@ -87,5 +95,6 @@
src: files/gitconfig
dest: /home/{{ item.username }}/.gitconfig
owner: "{{ item.username }}"
group: "{{ item.username }}"
with_items: "{{ me }}"