config/roles/installs/tasks/cli.yml

35 lines
555 B
YAML
Raw Normal View History

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