This commit is contained in:
bzoicas
2023-07-10 10:41:17 +03:00
commit dbb46eb92a
360 changed files with 13521 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,16 @@
- name: system setup | development packages | install packages
tags: dev,development,packages,python,ruby
package:
name:
- git
- perl
- "{{ python_flake8_package }}"
- "{{ python_package }}"
- "{{ python_pip_package }}"
- "{{ python_pyflakes_package }}"
- python-setuptools
- "{{ python_virtualenv_package }}"
- ruby
- "{{ ruby_rake_package }}"
- tig
state: latest

View File

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

View File

@@ -0,0 +1,53 @@
- name: system setup | utilities | install utility packages
tags: packages,system,settings
package:
state: latest
name:
- at
- colordiff
- curl
#- "{{ dns_utils_package}}"
- htop
- iotop
- "{{ lm_sensors_package }}"
- lsof
- mc
- ncdu
- neofetch
- net-tools
- "{{ nfs_client_package }}"
- nmap
- "{{ rename_package }}"
- rsync
- screen
- sshfs
- tmux
- terminator
- traceroute
- "{{ vim_package }}"
- wget
- whois
- zsh
- clusterssh
- conky
#- conky-manager
- redshift
- ansible
- lutris
- gftp
#- vlc
- fedora-workstation-repositories
- epel-release
- nextcloud-client
- dia
- docker-ce
- 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"]