Fix(Choux): Add group for config files
This commit is contained in:
parent
f2e823f8b8
commit
5fe2aff594
@ -19,6 +19,7 @@
|
|||||||
src: files/tmux.conf
|
src: files/tmux.conf
|
||||||
dest: /home/{{ item.username }}/.tmux.conf
|
dest: /home/{{ item.username }}/.tmux.conf
|
||||||
owner: "{{ item.username }}"
|
owner: "{{ item.username }}"
|
||||||
|
group: "{{ item.username }}"
|
||||||
with_items: "{{ me }}"
|
with_items: "{{ me }}"
|
||||||
|
|
||||||
- name: Install tmuxinator
|
- name: Install tmuxinator
|
||||||
@ -31,6 +32,7 @@
|
|||||||
src: files/zshrc.local
|
src: files/zshrc.local
|
||||||
dest: /home/{{ item.username }}/.zshrc.local
|
dest: /home/{{ item.username }}/.zshrc.local
|
||||||
owner: "{{ item.username }}"
|
owner: "{{ item.username }}"
|
||||||
|
group: "{{ item.username }}"
|
||||||
with_items: "{{ me }}"
|
with_items: "{{ me }}"
|
||||||
|
|
||||||
- name: Copy .vim/
|
- name: Copy .vim/
|
||||||
@ -38,6 +40,7 @@
|
|||||||
src: files/vim/
|
src: files/vim/
|
||||||
dest: /home/{{ item.username }}/.vim/
|
dest: /home/{{ item.username }}/.vim/
|
||||||
owner: "{{ item.username }}"
|
owner: "{{ item.username }}"
|
||||||
|
group: "{{ item.username }}"
|
||||||
with_items: "{{ me }}"
|
with_items: "{{ me }}"
|
||||||
|
|
||||||
- name: Creates .vim/autoload/
|
- name: Creates .vim/autoload/
|
||||||
@ -51,6 +54,7 @@
|
|||||||
url: https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
|
url: https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
|
||||||
dest: /home/{{ item.username }}/.vim/autoload/plug.vim
|
dest: /home/{{ item.username }}/.vim/autoload/plug.vim
|
||||||
owner: "{{ item.username }}"
|
owner: "{{ item.username }}"
|
||||||
|
group: "{{ item.username }}"
|
||||||
with_items: "{{ me }}"
|
with_items: "{{ me }}"
|
||||||
|
|
||||||
- name: Copy vimrc
|
- name: Copy vimrc
|
||||||
@ -58,6 +62,7 @@
|
|||||||
src: files/vimrc
|
src: files/vimrc
|
||||||
dest: /home/{{ item.username }}/.vimrc
|
dest: /home/{{ item.username }}/.vimrc
|
||||||
owner: "{{ item.username }}"
|
owner: "{{ item.username }}"
|
||||||
|
group: "{{ item.username }}"
|
||||||
with_items: "{{ me }}"
|
with_items: "{{ me }}"
|
||||||
|
|
||||||
- name: Copy .moc/
|
- name: Copy .moc/
|
||||||
@ -65,6 +70,7 @@
|
|||||||
src: files/moc/
|
src: files/moc/
|
||||||
dest: /home/{{ item.username }}/.moc/
|
dest: /home/{{ item.username }}/.moc/
|
||||||
owner: "{{ item.username }}"
|
owner: "{{ item.username }}"
|
||||||
|
group: "{{ item.username }}"
|
||||||
with_items: "{{ me }}"
|
with_items: "{{ me }}"
|
||||||
when: not minimal and not server
|
when: not minimal and not server
|
||||||
|
|
||||||
@ -73,6 +79,7 @@
|
|||||||
path: /home/{{ item.username }}/.ssh/
|
path: /home/{{ item.username }}/.ssh/
|
||||||
state: directory
|
state: directory
|
||||||
owner: "{{ item.username }}"
|
owner: "{{ item.username }}"
|
||||||
|
group: "{{ item.username }}"
|
||||||
with_items: "{{ me }}"
|
with_items: "{{ me }}"
|
||||||
|
|
||||||
- name: Copy ssh user config
|
- name: Copy ssh user config
|
||||||
@ -80,6 +87,7 @@
|
|||||||
src: files/sshconfig
|
src: files/sshconfig
|
||||||
dest: /home/{{ item.username }}/.ssh/config
|
dest: /home/{{ item.username }}/.ssh/config
|
||||||
owner: "{{ item.username }}"
|
owner: "{{ item.username }}"
|
||||||
|
group: "{{ item.username }}"
|
||||||
with_items: "{{ me }}"
|
with_items: "{{ me }}"
|
||||||
|
|
||||||
- name: Copy gitconfig
|
- name: Copy gitconfig
|
||||||
@ -87,5 +95,6 @@
|
|||||||
src: files/gitconfig
|
src: files/gitconfig
|
||||||
dest: /home/{{ item.username }}/.gitconfig
|
dest: /home/{{ item.username }}/.gitconfig
|
||||||
owner: "{{ item.username }}"
|
owner: "{{ item.username }}"
|
||||||
|
group: "{{ item.username }}"
|
||||||
with_items: "{{ me }}"
|
with_items: "{{ me }}"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user