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

37 lines
482 B
YAML
Raw Normal View History

2020-08-20 04:02:35 +00:00
---
- name: apt update
apt:
2020-08-20 05:11:33 +00:00
update_cache: True
2020-08-20 04:02:35 +00:00
- name: apt upgrade
apt:
2020-08-20 05:11:33 +00:00
upgrade: "yes"
2020-08-20 04:02:35 +00:00
- name: apt dist-upgrade
apt:
upgrade: dist
- name: install default packages
apt:
name:
- dbus
- git
- htop
- inxi
- ncdu
- netcat
2020-08-20 04:02:35 +00:00
- ntp
- rxvt-unicode-256color
- screen
- strace
- sysstat
- tmux
- tree
- vim
2020-08-20 05:11:33 +00:00
state: present
2020-08-20 04:02:35 +00:00
- name: apt autoremove
apt:
2020-08-20 05:11:33 +00:00
autoremove: True
2020-08-20 04:02:35 +00:00
...