Add zsh and Oh My Zsh
This commit is contained in:
parent
1cde4df388
commit
7b40954d00
3 changed files with 118 additions and 1 deletions
|
@ -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:
|
||||
|
|
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue