Feat: copy all zsh folder to .config/zsh
This commit is contained in:
@@ -18,20 +18,12 @@
|
||||
|
||||
|
||||
# ZSH
|
||||
- name: dotiles -- create .config/zsh directory
|
||||
file:
|
||||
path: /home/{{ item.username }}/.config/zsh/
|
||||
state: directory
|
||||
mode: '0755'
|
||||
with_items: "{{ dotusers }}"
|
||||
when: prompt == 'zsh'
|
||||
|
||||
- name: dotfiles -- Copy local zshrc
|
||||
template:
|
||||
- name: dotiles -- create and copy .config/zsh directory
|
||||
copy:
|
||||
src: files/dotfiles/zshrc
|
||||
dest: /home/{{ item.username }}/.config/zsh/.zshrc
|
||||
owner: "{{ item.username }}"
|
||||
group: "{{ item.group }}"
|
||||
path: /home/{{ item.username }}/.config/zsh/
|
||||
owner: {{ item.username }}
|
||||
mode: '0755'
|
||||
with_items: "{{ dotusers }}"
|
||||
when: prompt == 'zsh'
|
||||
|
||||
|
Reference in New Issue
Block a user