Skip to content

Commit 981f555

Browse files
committedNov 15, 2024
fix zsh playbook
1 parent f606d93 commit 981f555

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed
 

‎ansible/playbooks/zsh.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,17 @@
77
user: "{{ ansible_user }}"
88

99
tasks:
10+
- name: Add the Fastfetch PPA repository
11+
ansible.builtin.apt_repository:
12+
repo: ppa:zhangsongcui3371/fastfetch
13+
state: present
14+
update_cache: yes
15+
1016
- name: Install necessary packages
1117
apt:
1218
name:
1319
- zsh
14-
- neofetch
20+
- fastfetch
1521
- fzf
1622
state: present
1723
update_cache: yes
@@ -20,7 +26,6 @@
2026
copy:
2127
dest: "/home/{{ user }}/.zshrc"
2228
content: |
23-
# Path to your Oh My Zsh installation.
2429
export ZSH="$HOME/.oh-my-zsh"
2530
export PATH=$PATH:$HOME/.local/bin
2631
@@ -38,9 +43,11 @@
3843
# Custom aliases
3944
alias dcd="docker compose down"
4045
alias dcu="docker compose up -d"
46+
alias update="sudo apt update && sudo apt upgrade -y"
47+
4148
4249
# Display system information
43-
neofetch
50+
fastfetch
4451
owner: "{{ user }}"
4552
mode: '0644'
4653

0 commit comments

Comments
 (0)
Please sign in to comment.