Files
ansible-role-oh-my-zsh/tasks/p10k-configure.yml

17 lines
441 B
YAML

---
- name: Set zsh as default shell
ansible.builtin.user:
name: "{{ item }}"
shell: "{{ zsh_bin_path }}"
become: true
loop: "{{ zsh_users }}"
- name: Setup powerlevel10k
ansible.builtin.template:
src: "p10k-{{ p10k_style[p10k_prompt_style] }}.zsh.j2"
dest: "{{ item.ansible_facts.user_home }}/.p10k.zsh"
owner: "{{ item.item }}"
group: "{{ item.item }}"
mode: '0644'
with_items: "{{ paths.results }}"