first commit
This commit is contained in:
10
roles/base/tasks/software/packages_cleanup.yml
Normal file
10
roles/base/tasks/software/packages_cleanup.yml
Normal 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"]
|
||||
12
roles/base/tasks/software/packages_development.yml
Normal file
12
roles/base/tasks/software/packages_development.yml
Normal 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
|
||||
8
roles/base/tasks/software/packages_pip.yml
Normal file
8
roles/base/tasks/software/packages_pip.yml
Normal 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
|
||||
38
roles/base/tasks/software/packages_utilities.yml
Normal file
38
roles/base/tasks/software/packages_utilities.yml
Normal 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"
|
||||
33
roles/base/tasks/software/repositories.yml
Normal file
33
roles/base/tasks/software/repositories.yml
Normal 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"]
|
||||
Reference in New Issue
Block a user