Homelab-Infra/roles/cli_productivity/defaults/main.yml

115 lines
2.0 KiB
YAML

---
# cli_productivity/defaults/main.yml
cli_user: "{{ container_user }}"
cli_group: "{{ cli_user }}"
cli_install_epel: true
cli_use_epel: "{{ cli_install_epel | bool and ansible_os_family == 'RedHat' and ansible_distribution != 'Fedora' }}"
cli_set_fish_as_default_shell: true
cli_enable_starship: true
cli_enable_fish_config: true
cli_enable_tmux_config: true
cli_enable_ssh_config: false
cli_enable_git_config: true
cli_editor: nano
cli_visual: nano
cli_config_home: "/home/{{ cli_user }}"
cli_fish_config_dir: "{{ cli_config_home }}/.config/fish"
cli_starship_config_dir: "{{ cli_config_home }}/.config"
cli_ssh_config_dir: "{{ cli_config_home }}/.ssh"
cli_base_packages:
- fish
- git
- curl
- wget
- unzip
- tar
- rsync
- tree
- tmux
- vim-enhanced
- nano
- jq
- bind-utils
- traceroute
- tcpdump
- lsof
- iotop
- htop
- ncdu
- mtr
- nmap-ncat
- python3
- python3-pip
cli_extra_packages:
- ripgrep
- fd-find
- bat
- fzf
- btop
cli_optional_packages:
- zoxide
- duf
- httpie
- yq
- direnv
- just
- git-delta
- lazygit
- eza
- procs
- dust
- bottom
- sd
- xh
- age
- sops
- shellcheck
- shfmt
cli_starship_install_method: "script"
cli_starship_bin_path: "/usr/local/bin/starship"
cli_git_user_name: ""
cli_git_user_email: ""
cli_fish_abbreviations:
- name: ll
expansion: "ls -lah"
- name: la
expansion: "ls -A"
- name: gs
expansion: "git status"
- name: ga
expansion: "git add"
- name: gc
expansion: "git commit"
- name: gp
expansion: "git push"
- name: gl
expansion: "git log --oneline --graph --decorate --all"
- name: k
expansion: "kubectl"
- name: tf
expansion: "terraform"
- name: dcu
expansion: "docker compose up -d"
- name: dcd
expansion: "docker compose down"
- name: pcu
expansion: "podman compose up -d"
- name: pcd
expansion: "podman compose down"
- name: ta
expansion: "tmux attach"
- name: tls
expansion: "tmux ls"
- name: tn
expansion: "tmux new -s"