initial commit

This commit is contained in:
Peter 2024-10-16 21:13:17 +02:00
commit 6f50de798b
24 changed files with 1082 additions and 0 deletions

View file

@ -0,0 +1,47 @@
- name: Keep apt repository list uptodate
ansible.builtin.apt:
update_cache: true
cache_valid_time: 3600
# Even if we "changed it", it's merely a cache, so ignore
changed_when: false
- name: Update system packages to lates
ansible.builtin.apt:
upgrade: dist
- name: Remove unused packages
ansible.builtin.apt:
autoremove: true
# The following is a list of utilities that I personally use
# to make my life easier. It is opiniated and not needed...
- name: Install utilities to make life easier
ansible.builtin.apt:
pkg:
- apt-dater
- mosh
- mc
- vim
- curl
- jq
- host
- telnet
- screen
- tmux
- tcpdump
- sqlite3
- bash-completion
- mtr-tiny
- iotop
- iftop
- htop
- ncdu
- name: Firewall for mosh
ansible.builtin.template:
dest: /etc/firewall.d/mosh
group: root
owner: root
mode: "0755"
src: mosh.j2
notify: Restart firewall