ansible/roles/common-tools/tasks/main.yml

43 lines
1.2 KiB
YAML

---
- name: Install common tools
apt:
update_cache: true
name:
- sudo
- molly-guard # prevent reboot
- ntp # network time sync
- apt # better than apt-get
- nano # for vulcain
- vim # better than nano
- emacs-nox # for maman
- htop # better than top
- zsh # to be able to ssh @erdnaxe
- fish # to motivate @edpibu
- oidentd # postgresql identification
- aptitude # nice to have for Ansible
- acl # advanced ACL
- iotop # monitor i/o
- tree # create a graphical tree of files
- bash-completion # because bash
- git # code versioning
- less # i like cats
- screen # Vulcain asked for this
# - irqbalance # distribute interrupts on multicores CPU
- vlock # virtual console lock
- resolvconf # for dns configuration in network interfaces
register: apt_result
retries: 3
until: apt_result is succeeded
- name: Clean up unused packages
apt:
state: absent
name:
- doc-debian # graphical
- debian-faq # graphical
- os-prober # makes grub-install lag
- python3-reportbug
register: apt_result
retries: 3
until: apt_result is succeeded