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

40 lines
521 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:
- acl
2020-08-20 04:02:35 +00:00
- dbus
- git
- htop
- inxi
- make
2020-08-20 04:02:35 +00:00
- ncdu
- netcat
2020-08-20 04:02:35 +00:00
- ntp
- rxvt-unicode-256color
- screen
- strace
- sysstat
- tmux
- tree
- unzip
2020-08-20 04:02:35 +00:00
- 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
...