first commit
This commit is contained in:
14
tasks/oh-my-zsh-zshrc.yml
Normal file
14
tasks/oh-my-zsh-zshrc.yml
Normal file
@@ -0,0 +1,14 @@
|
||||
---
|
||||
- name: "OMZ | derive user .zshrc path."
|
||||
set_fact:
|
||||
omz_user_zshrc_path: "/{{ omz_user_home_dir }}/{{ omz_user.name }}/.zshrc"
|
||||
|
||||
- name: "OMZ | template .zshrc into place if required."
|
||||
template:
|
||||
src: "{{ omz_zshrc_template }}"
|
||||
dest: "{{ omz_user_zshrc_path }}"
|
||||
owner: "{{ omz_user.name }}"
|
||||
group: "{{ omz_user.group }}"
|
||||
backup: "{{ omz_zshrc_backup }}"
|
||||
force: "{{ omz_zshrc_force }}"
|
||||
when: "omz_zshrc_create"
|
||||
Reference in New Issue
Block a user