16 lines
466 B
YAML
16 lines
466 B
YAML
---
|
|
- name: "OMZ | derive user .zshrc path."
|
|
set_fact:
|
|
omz_user_zshrc_path: "{{ ansible_env.HOME }}/.zshrc"
|
|
|
|
- name: "OMZ | template .zshrc into place if required."
|
|
template:
|
|
src: "{{ omz_zshrc_template }}"
|
|
dest: "{{ item.ansible_facts.user_home }}/.zshrc"
|
|
owner: "{{ item.item }}"
|
|
group: "{{ item.item }}"
|
|
backup: "{{ omz_zshrc_backup }}"
|
|
force: "{{ omz_zshrc_force }}"
|
|
when: "omz_zshrc_create"
|
|
with_items: "{{ paths.results }}"
|