Add zsh and Oh My Zsh

This commit is contained in:
Oliver Traber 2025-02-04 18:10:47 +01:00
parent 1cde4df388
commit 7b40954d00
Signed by: Bluemedia
GPG key ID: C0674B105057136C
3 changed files with 118 additions and 1 deletions

View file

@ -32,6 +32,8 @@
dest: "{{ ansible_env.HOME }}/"
- src: "{{ role_path }}/files/.wezterm.lua"
dest: "{{ ansible_env.HOME }}/"
- src: "{{ role_path }}/files/.zshrc"
dest: "{{ ansible_env.HOME }}/"
- name: Ensure presence of required directories
file:

View file

@ -29,4 +29,18 @@
- polkit-kde-agent-1
- slurp
- grim
- swappy
- swappy
- name: Install zsh
become: yes
apt:
state: present
install_recommends: false
name: zsh
register: zsh_installation
- name: Install Oh My Zsh
ansible.builtin.command:
cmd: sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
chdir: "{{ ansible_env.HOME }}"
when: zsh_installation is changed