fix zsh playbook
This commit is contained in:
parent
f606d93acf
commit
981f555d70
1 changed files with 10 additions and 3 deletions
|
@ -7,11 +7,17 @@
|
||||||
user: "{{ ansible_user }}"
|
user: "{{ ansible_user }}"
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
|
- name: Add the Fastfetch PPA repository
|
||||||
|
ansible.builtin.apt_repository:
|
||||||
|
repo: ppa:zhangsongcui3371/fastfetch
|
||||||
|
state: present
|
||||||
|
update_cache: yes
|
||||||
|
|
||||||
- name: Install necessary packages
|
- name: Install necessary packages
|
||||||
apt:
|
apt:
|
||||||
name:
|
name:
|
||||||
- zsh
|
- zsh
|
||||||
- neofetch
|
- fastfetch
|
||||||
- fzf
|
- fzf
|
||||||
state: present
|
state: present
|
||||||
update_cache: yes
|
update_cache: yes
|
||||||
|
@ -20,7 +26,6 @@
|
||||||
copy:
|
copy:
|
||||||
dest: "/home/{{ user }}/.zshrc"
|
dest: "/home/{{ user }}/.zshrc"
|
||||||
content: |
|
content: |
|
||||||
# Path to your Oh My Zsh installation.
|
|
||||||
export ZSH="$HOME/.oh-my-zsh"
|
export ZSH="$HOME/.oh-my-zsh"
|
||||||
export PATH=$PATH:$HOME/.local/bin
|
export PATH=$PATH:$HOME/.local/bin
|
||||||
|
|
||||||
|
@ -38,9 +43,11 @@
|
||||||
# Custom aliases
|
# Custom aliases
|
||||||
alias dcd="docker compose down"
|
alias dcd="docker compose down"
|
||||||
alias dcu="docker compose up -d"
|
alias dcu="docker compose up -d"
|
||||||
|
alias update="sudo apt update && sudo apt upgrade -y"
|
||||||
|
|
||||||
|
|
||||||
# Display system information
|
# Display system information
|
||||||
neofetch
|
fastfetch
|
||||||
owner: "{{ user }}"
|
owner: "{{ user }}"
|
||||||
mode: '0644'
|
mode: '0644'
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue