vm-ansible/roles/common/tasks/apt.yaml
Torma Kristóf 43249b4aff
All checks were successful
continuous-integration/drone/push Build is passing
remove migrating to new mirror
2023-10-22 00:16:07 +02:00

48 lines
791 B
YAML

---
- name: "Use custom Ubuntu mirror"
replace:
path: /etc/apt/sources.list
regexp: 'http://hu.archive.ubuntu.com'
replace: 'https://mirrors.sth.sze.hu'
backup: yes
- name: "Remove Ubuntu bloatware"
apt:
state: absent
name: ubutu-server
autoremove: yes
- name: "Update machine"
apt:
update_cache: yes
upgrade: "yes"
autoclean: yes
autoremove: yes
- name: "Install my favourite applications"
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
- ncdu
- cron
...