mirror of
https://github.com/aminnairi/dotfiles.git
synced 2026-09-14 11:02:13 +02:00
79 lines
1.8 KiB
YAML
79 lines
1.8 KiB
YAML
---
|
|
- name: Install Fish (shell)
|
|
become: true
|
|
pacman:
|
|
name: fish
|
|
state: latest
|
|
- name: Install Eza (alternative to ls)
|
|
become: true
|
|
pacman:
|
|
name: eza
|
|
state: latest
|
|
- name: Install Fastfetch (operating system informations logger)
|
|
become: true
|
|
pacman:
|
|
name: fastfetch
|
|
state: latest
|
|
- name: Install OpenVPN (for openvpn.fish)
|
|
become: true
|
|
pacman:
|
|
name: openvpn
|
|
state: latest
|
|
- name: Install FZF (for interacting with the OpenVPN function)
|
|
become: true
|
|
pacman:
|
|
name: fzf
|
|
state: present
|
|
- name: Setup Fish for the unprivileged user
|
|
synchronize:
|
|
delete: true
|
|
src: fish
|
|
dest: "/$HOME/.config"
|
|
- name: Setup Fish for the root user
|
|
become: true
|
|
synchronize:
|
|
delete: true
|
|
src: fish
|
|
dest: "/root/.config"
|
|
- name: Clone Oh My Fish for the unprivileged user
|
|
git:
|
|
repo: https://github.com/oh-my-fish/oh-my-fish
|
|
dest: /$HOME/.local/share/omf
|
|
depth: 1
|
|
single_branch: true
|
|
update: true
|
|
- name: Clone Oh My Fish for the root user
|
|
become: true
|
|
git:
|
|
repo: https://github.com/oh-my-fish/oh-my-fish
|
|
dest: /root/.local/share/omf
|
|
depth: 1
|
|
single_branch: true
|
|
update: true
|
|
- name: Clone Agnoster theme for the unprivileged user
|
|
git:
|
|
repo: https://github.com/oh-my-fish/theme-agnoster
|
|
dest: /$HOME/.local/share/omf/themes/agnoster
|
|
depth: 1
|
|
single_branch: true
|
|
update: true
|
|
- name: Clone Agnoster theme for the root user
|
|
become: true
|
|
git:
|
|
repo: https://github.com/oh-my-fish/theme-agnoster
|
|
dest: /root/.local/share/omf/themes/agnoster
|
|
depth: 1
|
|
single_branch: true
|
|
update: true
|
|
- name: Setup OMF for the unprivileged user
|
|
synchronize:
|
|
delete: true
|
|
src: omf
|
|
dest: "/$HOME/.config"
|
|
- name: Setup OMF for the root user
|
|
become: true
|
|
synchronize:
|
|
delete: true
|
|
src: omf
|
|
dest: "/root/.config"
|