-
Notifications
You must be signed in to change notification settings - Fork 0
/
system_dev.yml
107 lines (90 loc) · 2.44 KB
/
system_dev.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
- hosts: localhost
vars_files:
- config.yml
tasks:
- name: Install base dev packages
apt:
pkg:
# Base
- tmux
- neovim
- git
- ripgrep
- fd-find
- fzf
- jq
- pv
- wl-clipboard
# Crypto
- wireguard
- openresolv # dependency of wireguard
- openvpn
- openssh-client
- gnupg
# DB clients
- postgresql-client
- default-mysql-client
# HTTP clients
- wget
- curl
# Cloud
- rclone
- awscli
# Troubleshooting - general
- sysstat # sar/pidstat/...
- linux-perf
- bpfcc-tools
- strace
- lsof
- iftop
- htop
# Troubleshooting - network
- tcpdump
- wireshark
- tshark
- mtr
- ngrep
- nmap
- ncat
- socat
- dnsutils # dig
- net-tools # netstat
- whois
# pinentry-gnome3 uses a modal dialog, does not work with a password manager
# pinentry-tty has this bug:
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=850946
# It is fixed in gpg 2.3, but gpg 2.3 is experimental and is not packaged in Debian/Ubuntu
# When gpg 2.3 or 2.4 enters Debian, switch to pinentry-tty
- name: GPG - install pinentry-qt
apt:
pkg: pinentry-qt
- name: GPG - pinentry-qt as default pinentry
alternatives:
name: pinentry
path: /usr/bin/pinentry-qt
- name: Docker - setup apt key
apt_key:
url: https://download.docker.com/linux/debian/gpg
state: present
- name: Docker - setup apt repository
apt_repository:
repo: deb https://download.docker.com/linux/debian buster stable
- name: Docker - install
apt:
pkg: docker-ce
- name: Docker - add users to docker group
with_items: "{{ users }}"
user:
name: "{{ item }}"
groups: docker
append: yes
- name: VS Code - setup apt key
apt_key:
url: https://packages.microsoft.com/keys/microsoft.asc
state: present
- name: VS Code - setup apt repository
apt_repository:
repo: deb https://packages.microsoft.com/repos/vscode stable main
- name: VS Code - install
apt:
pkg: code