-
Notifications
You must be signed in to change notification settings - Fork 11
/
install-essential-packages.yml
78 lines (70 loc) · 2.41 KB
/
install-essential-packages.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
- name: Essential system-wide software installation
hosts: all
become: yes
tasks:
- name: Add official git PPA
apt_repository:
repo: ppa:git-core/ppa
codename: "{{ dist_override | default(omit) }}"
filename: git
- name: Install apt system packages
apt:
name:
- build-essential
- curl
- flip
- git
- htop
- jq # for manipulating json
- openssh-server
- ranger
- tmux
- trash-cli
- tree
state: latest
install_recommends: no
update_cache: yes
cache_valid_time: 3600
- name: Install essential packages relevant to graphical desktop
hosts: all
become: yes
tags: desktop
tasks:
- name: add apt keys
apt_key:
data: "{{ lookup('file', item) }}"
loop:
- apt-keys/microsoft-apt-signing-key.asc
- apt-keys/google_linux_signing_key.asc
- name: add apt repository for vscode
apt_repository:
repo: deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main
codename: "{{ dist_override | default(omit) }}"
filename: vscode
- name: add apt repository for Google Chrome
apt_repository:
repo: 'deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main'
filename: google-chrome
- name: Install GUI apt packages
apt:
name:
- baobab # disk usage analysis
- code # Visual Studio Code
- dconf-cli # desktop environment configuration
- dconf-editor # desktop environment configuration
- firefox # make sure firefox is updated - my package manager
# didn't want to update it on its own
- google-chrome-stable
- gparted # partition management
- libnotify-bin # for system notifications
- redshift # for adjusting screen color temperature
- solaar # for configuring my logitech mouse
- usb-creator-gtk # for creating USB drives for OS installation
- vlc # watching DVDs
- xbacklight # changing screen brightness
- xsel # copying and pasting from middle-mouse-button clipboard
- xclip # accessing clipboard from cli, needed by pass
state: latest
install_recommends: no
update_cache: yes
cache_valid_time: 3600