config/roles/installs/tasks/cli.yml
ProgramSnail 58966f9e4a add nano
2025-08-08 15:14:04 +03:00

35 lines
568 B
YAML

- name: Install cli tools
ansible.builtin.dnf5:
name:
# shells & shell utils
- bash
- fish
- trash-cli
# dev utils
- just
- jsonnet
- shellcheck
# edit utils
- helix
- micro
- nano
- tmux
- tmate
- ripgrep
# git
- git-delta
- difftastic
- git
# other
- ansible
state: latest
- name: Clear trash automatically every 30 days
ansible.builtin.shell:
cmd: sh
stdin: '(crontab -l ; echo "@daily $(which trash-empty) 30")'