Merge branch 'master' of ssh://git-ssh.notandy.de:2222/ansible/roles/basic_tools
This commit is contained in:
commit
107c577b1c
4 changed files with 65 additions and 49 deletions
|
|
@ -8,7 +8,7 @@ default_repos:
|
||||||
security:
|
security:
|
||||||
url: "deb https://security.debian.org/debian-security {{ ansible_distribution_release|lower }}-security main contrib non-free"
|
url: "deb https://security.debian.org/debian-security {{ ansible_distribution_release|lower }}-security main contrib non-free"
|
||||||
backports:
|
backports:
|
||||||
url: "deb https://deb.debian.org/{{ ansible_distribution|lower }} {{ ansible_distribution_release|lower }}-backports main"
|
url: "deb https://deb.debian.org/{{ ansible_distribution|lower }} {{ ansible_distribution_release|lower }}-backports main contrib non-free"
|
||||||
bullseye: *debian_default_repos
|
bullseye: *debian_default_repos
|
||||||
buster:
|
buster:
|
||||||
debian:
|
debian:
|
||||||
|
|
@ -18,6 +18,55 @@ default_repos:
|
||||||
security:
|
security:
|
||||||
url: "deb http://deb.debian.org/debian-security/ {{ ansible_distribution_release|lower }}/updates main contrib non-free"
|
url: "deb http://deb.debian.org/debian-security/ {{ ansible_distribution_release|lower }}/updates main contrib non-free"
|
||||||
backports:
|
backports:
|
||||||
url: "deb http://http.debian.net/{{ ansible_distribution|lower }} {{ ansible_distribution_release|lower }}-backports main"
|
url: "deb http://http.debian.net/{{ ansible_distribution|lower }} {{ ansible_distribution_release|lower }}-backports main contrib non-free"
|
||||||
|
raspbian:
|
||||||
|
bullseye: {}
|
||||||
|
buster: {}
|
||||||
|
|
||||||
|
default_packages:
|
||||||
|
debian:
|
||||||
|
bullseye: &debian_packages
|
||||||
|
aptitude: {}
|
||||||
|
"apt-transport-https": {}
|
||||||
|
"libarchive-tools": {}
|
||||||
|
bzip2: {}
|
||||||
|
curl: {}
|
||||||
|
dnsutils: {}
|
||||||
|
file: {}
|
||||||
|
git: {}
|
||||||
|
haveged: {}
|
||||||
|
htop: {}
|
||||||
|
iftop: {}
|
||||||
|
iotop: {}
|
||||||
|
less: {}
|
||||||
|
"locales-all": {}
|
||||||
|
lsof: {}
|
||||||
|
mailutils: {}
|
||||||
|
members: {}
|
||||||
|
mksh: {}
|
||||||
|
"molly-guard": {}
|
||||||
|
mosh: {}
|
||||||
|
"mtr-tiny": {}
|
||||||
|
ncdu: {}
|
||||||
|
"ncurses-term": {}
|
||||||
|
"net-tools": {}
|
||||||
|
nmap: {}
|
||||||
|
pciutils: {}
|
||||||
|
pv: {}
|
||||||
|
python3: {}
|
||||||
|
rsync: {}
|
||||||
|
screen: {}
|
||||||
|
sshfs: {}
|
||||||
|
sudo: {}
|
||||||
|
sysstat: {}
|
||||||
|
tcpdump: {}
|
||||||
|
tmux: {}
|
||||||
|
tree: {}
|
||||||
|
unzip: {}
|
||||||
|
usbutils: {}
|
||||||
|
"vim": {}
|
||||||
|
vnstat: {}
|
||||||
|
"xz-utils": {}
|
||||||
|
zip: {}
|
||||||
|
zsh: {}
|
||||||
|
buster: *debian_packages
|
||||||
|
|
|
||||||
|
|
@ -1,2 +0,0 @@
|
||||||
dependencies:
|
|
||||||
- { role: packages }
|
|
||||||
|
|
@ -1,4 +1,12 @@
|
||||||
---
|
---
|
||||||
|
- name: install default packages and repos
|
||||||
|
include_role:
|
||||||
|
name: packages
|
||||||
|
vars:
|
||||||
|
packages:
|
||||||
|
pkg: "{{ default_packages[ansible_distribution|lower][ansible_distribution_release|lower] }}"
|
||||||
|
repos: "{{ default_repos[ansible_distribution|lower][ansible_distribution_release|lower] }}"
|
||||||
|
|
||||||
- name: copy environment
|
- name: copy environment
|
||||||
copy:
|
copy:
|
||||||
src: dotfiles/environment
|
src: dotfiles/environment
|
||||||
|
|
@ -36,3 +44,8 @@
|
||||||
community.general.alternatives:
|
community.general.alternatives:
|
||||||
name: editor
|
name: editor
|
||||||
path: /usr/bin/vim.basic
|
path: /usr/bin/vim.basic
|
||||||
|
|
||||||
|
- name: remove /etc/apt/sources.list
|
||||||
|
file:
|
||||||
|
path: /etc/apt/sources.list
|
||||||
|
state: absent
|
||||||
|
|
|
||||||
|
|
@ -1,44 +0,0 @@
|
||||||
packages:
|
|
||||||
pkg:
|
|
||||||
aptitude: {}
|
|
||||||
"apt-transport-https": {}
|
|
||||||
"libarchive-tools": {}
|
|
||||||
bzip2: {}
|
|
||||||
curl: {}
|
|
||||||
dnsutils: {}
|
|
||||||
file: {}
|
|
||||||
git: {}
|
|
||||||
haveged: {}
|
|
||||||
htop: {}
|
|
||||||
iftop: {}
|
|
||||||
iotop: {}
|
|
||||||
less: {}
|
|
||||||
"locales-all": {}
|
|
||||||
lsof: {}
|
|
||||||
mailutils: {}
|
|
||||||
members: {}
|
|
||||||
mksh: {}
|
|
||||||
"molly-guard": {}
|
|
||||||
mosh: {}
|
|
||||||
"mtr-tiny": {}
|
|
||||||
ncdu: {}
|
|
||||||
"ncurses-term": {}
|
|
||||||
"net-tools": {}
|
|
||||||
nmap: {}
|
|
||||||
pciutils: {}
|
|
||||||
pv: {}
|
|
||||||
python3: {}
|
|
||||||
rsync: {}
|
|
||||||
screen: {}
|
|
||||||
sshfs: {}
|
|
||||||
sudo: {}
|
|
||||||
sysstat: {}
|
|
||||||
tcpdump: {}
|
|
||||||
tmux: {}
|
|
||||||
tree: {}
|
|
||||||
usbutils: {}
|
|
||||||
"vim": {}
|
|
||||||
vnstat: {}
|
|
||||||
"xz-utils": {}
|
|
||||||
zsh: {}
|
|
||||||
repos: "{{ default_repos[ansible_distribution|lower][ansible_distribution_release|lower] }}"
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue