mirror of
https://gitlab.com/sagidayan/linux-config.git
synced 2024-11-16 20:35:25 +00:00
73 lines
1.7 KiB
YAML
73 lines
1.7 KiB
YAML
---
|
|
- name: Installing bat (cat like)
|
|
ansible.builtin.include_role:
|
|
name: gh_release_bin
|
|
vars:
|
|
name: bat
|
|
repo: sharkdp/bat
|
|
bin_path: "/bat*/bat"
|
|
filter: x86_64-unknown-linux-gnu
|
|
|
|
- name: verify Bat (better Cat) theme
|
|
changed_when: false
|
|
ansible.builtin.lineinfile:
|
|
path: "~/.shellconfig/common.sh"
|
|
regexp: "^export BAT_THEME="
|
|
line: 'export BAT_THEME="${{theme}}"'
|
|
|
|
- name: Instaling TLDR (pip3)
|
|
shell: pip3 install tldr
|
|
|
|
- name: Installing bottom (btm) (Top like)
|
|
ansible.builtin.include_role:
|
|
name: gh_release_bin
|
|
vars:
|
|
name: btm
|
|
repo: ClementTsang/bottom
|
|
bin_path: "/btm"
|
|
filter: bottom_x86_64-unknown-linux-gnu.tar.gz
|
|
|
|
- name: Installing gitui
|
|
ansible.builtin.include_role:
|
|
name: gh_release_bin
|
|
vars:
|
|
name: gitui
|
|
repo: extrawurst/gitui
|
|
bin_path: "/gitui"
|
|
filter: gitui-linux-musl
|
|
|
|
- name: Verifying gitui config
|
|
file:
|
|
path: ~/.config/gitui
|
|
state: directory
|
|
|
|
- name: Copy gitui keybindings
|
|
copy:
|
|
src: dotfiles/gitui/key_config.ron
|
|
dest: ~/.config/gitui/key_config.ron
|
|
force: yes
|
|
|
|
- name: Copy gitui theme config
|
|
copy:
|
|
src: dotfiles/gitui/theme.ron
|
|
dest: ~/.config/gitui/theme.ron
|
|
force: yes
|
|
|
|
- name: Installing LSD (ls like)
|
|
ansible.builtin.include_role:
|
|
name: gh_release_bin
|
|
vars:
|
|
name: lsd
|
|
repo: Peltoche/lsd
|
|
bin_path: "/lsd-*/lsd"
|
|
filter: x86_64-unknown-linux-gnu.tar.gz
|
|
|
|
- name: Installing ripgrep (grep like)
|
|
ansible.builtin.include_role:
|
|
name: gh_release_bin
|
|
vars:
|
|
name: rg
|
|
repo: BurntSushi/ripgrep
|
|
bin_path: "/ripgrep-*/rg"
|
|
filter: x86_64-unknown-linux-musl.tar.gz
|
|
|