infra/ansible/roles/common/tasks/Debian.yml

41 lines
543 B
YAML

---
- name: apt update
apt:
update_cache: True
changed_when: False
- name: apt upgrade
apt:
upgrade: "yes"
- name: apt dist-upgrade
apt:
upgrade: dist
- name: install default packages
apt:
name:
- acl
- dbus
- git
- htop
- inxi
- make
- ncdu
- netcat
- ntp
- rxvt-unicode-256color
- screen
- strace
- sysstat
- tmux
- tree
- unzip
- vim
state: present
- name: apt autoremove
apt:
autoremove: True
...