vm-ansible/roles/common/tasks/apt.yaml

48 lines
791 B
YAML
Raw Normal View History

---
2022-11-23 15:17:59 +01:00
- name: "Use custom Ubuntu mirror"
2023-08-30 23:13:59 +02:00
replace:
2022-11-23 15:17:59 +01:00
path: /etc/apt/sources.list
regexp: 'http://hu.archive.ubuntu.com'
2023-10-21 23:46:57 +02:00
replace: 'https://mirrors.sth.sze.hu'
backup: yes
- name: "Remove Ubuntu bloatware"
2023-08-30 23:13:59 +02:00
apt:
state: absent
name: ubutu-server
autoremove: yes
- name: "Update machine"
2023-08-30 23:13:59 +02:00
apt:
update_cache: yes
2022-02-05 21:49:58 +01:00
upgrade: "yes"
autoclean: yes
autoremove: yes
- name: "Install my favourite applications"
2023-08-30 23:13:59 +02:00
apt:
update_cache: yes
state: present
name:
- tmux
- htop
- dnsutils
- needrestart
- curl
- wget
- netcat-openbsd
- tree
- net-tools
- nano
- psmisc
- python3
- python3-venv
- strace
- ifstat
- tcpdump
- xxd
- git
2022-11-23 15:17:59 +01:00
- ncdu
2023-03-05 22:08:45 +01:00
- cron
2022-04-16 19:55:29 +02:00
...