-
Notifications
You must be signed in to change notification settings - Fork 0
/
ansible-setup.yml
69 lines (65 loc) · 1.54 KB
/
ansible-setup.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
---
- hosts: localhost
become: yes
tasks:
- name: Add keys for repos
apt_key:
url: "{{ item }}"
with_items:
- https://packages.cloud.google.com/apt/doc/apt-key.gpg
- https://packages.microsoft.com/keys/microsoft.asc
- https://download.docker.com/linux/ubuntu/gpg
- name: Add external repos
apt_repository:
repo: "{{ item }}"
with_items:
- deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main
- deb https://apt.kubernetes.io/ kubernetes-xenial main
- deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable
- ppa:ozmartian/apps
- name: Remove apps
apt:
name: "{{ packages }}"
state: absent
vars:
packages:
- hexlet
- name: Install required apps
apt:
name: "{{ packages }}"
update_cache: yes
vars:
packages:
- apt-transport-https
- clipit
- code
- docker-ce
- fonts-firacode
- git
- gkrellm
- gkrelltop
- htop
- httpie
- iftop
- iotop
- fonts-powerline
- kubectl
- lnav
- meld
- nmap
- nethogs
- python3-pep8
- pylint3
- python3-pip
- screenfetch
- shellcheck
- sysstat
- tilix
- tmux
- ttf-mscorefonts-installer
- vidcutter
- vim
- virtualbox
- virtualbox-qt
- whois
- zsh