config/roles/installs/tasks/cli.yml

31 lines
517 B
YAML

- name: Install cli tools
ansible.builtin.dnf5:
name:
# shells & shell utils
- bash
- fish
- trash-cli
- just
- jsonnet
# edit utils
- helix
- micro
- 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")'