Add P10k installation / configuration

This commit is contained in:
2025-01-09 17:15:23 +01:00
parent 19425ca130
commit 9a1412067c
21 changed files with 5656 additions and 80 deletions

16
tasks/p10k-configure.yml Normal file
View File

@@ -0,0 +1,16 @@
---
- name: Set zsh as default shell
ansible.builtin.user:
name: "{{ item }}"
shell: "{{ zsh_bin_path }}"
become: true
loop: "{{ p10k_users }}"
- name: Setup powerlevel10k
ansible.builtin.template:
src: "p10k-{{ p10k_style[p10k_prompt_style] }}.zsh.j2"
dest: "{{ item['home'] }}/.p10k.zsh"
owner: "{{ item['name'] }}"
group: "{{ item['group'] }}"
mode: '0644'
loop: "{{ p10k_users_information }}"