first commit

This commit is contained in:
bzoicas
2026-03-13 11:09:33 +02:00
commit 255fd3c079
170 changed files with 8640 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
- name: system setup | package cleanup | remove unneeded packages (debian, ubuntu, etc)
tags: cleanup,packages,system,settings
package:
state: absent
name:
- cowsay
- exim4
- exim4-base
- exim4-config
when: ansible_distribution in ["Debian", "Pop!_OS", "Ubuntu"]

View File

@@ -0,0 +1,12 @@
- name: system setup | development packages | install packages
tags: dev,development,packages,python,ruby
package:
name:
- git
- "{{ python_flake8_package }}"
- "{{ python_package }}"
- "{{ python_pip_package }}"
- "{{ python_pyflakes_package }}"
#- "{{ python_setup }}"
- "{{ python_virtualenv_package }}"
state: latest

View File

@@ -0,0 +1,8 @@
# - name: system setup | pip packages | install bpytop
# tags: bpytop,packages,pip,python
# become_user: super_user
# pip:
# executable: /usr/bin/pip3
# state: latest
# name: bpytop

View File

@@ -0,0 +1,38 @@
- name: system setup | utilities | install utility packages
tags: packages,system,settings
package:
state: latest
name:
- at
- colordiff
- curl
- htop
- iotop
- "{{ lm_sensors_package }}"
- lsof
- mc
- ncdu
- net-tools
- "{{ nfs_client_package }}"
- nmap
- rsync
- screen
- sshfs
- tmux
- traceroute
- "{{ vim_package }}"
- wget
- whois
- zsh
- podman
- podman-docker
- name: system setup | utilities | install man-pages (arch)
tags: packages,system,settings
pacman:
state: latest
name:
- man-db
- man-pages
when: ansible_distribution == "Archlinux"

View File

@@ -0,0 +1,33 @@
- name: system setup | repositories | add ignored packages for archlinux hosts
tags: packages,repositories
lineinfile:
dest: /etc/pacman.conf
regexp: "^#?IgnorePkg"
line: "IgnorePkg = ansible linux linux-headers linux-lts linux-lts-headers"
when: ansible_distribution == "Archlinux"
- name: system setup | repositories | add sources.list for debian hosts
tags: non-free,repositories
copy:
src: distribution_packages/debian_sources.list
dest: /etc/apt/sources.list
backup: yes
notify: apt_update
when: ansible_distribution == "Debian"
- name: system setup | repositories | add debian-backports
tags: backports,repositories
apt_repository:
repo: deb http://deb.debian.org/debian buster-backports main
filename: debian-backports
notify: apt_update
when: ansible_distribution == "Debian"
- name: system setup | repositories | install package management tools (debian-based)
tags: packages,system,settings
package:
name:
- aptitude
- software-properties-common
state: latest
when: ansible_distribution in ["Debian", "Pop!_OS", "Ubuntu"]