-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcommon-dependencies.yaml
78 lines (74 loc) · 2.21 KB
/
common-dependencies.yaml
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
- name: OS specific common packages
import_playbook: "./os-specific.yaml"
vars:
tasks:
- alacritty
- python
- asdf
- name: Install common dependencies
hosts: work_machine
tasks:
- name: "Common - System"
become: yes
package:
name:
- systemd # in case some stuff like machinectl is missing
state: present
- name: "Common - General dev/build deps"
become: yes
package:
name:
- make
- cmake
- gcc
state: present
- name: "Common - Terminal Utilities"
become: yes
package:
name:
- zsh
- tmux
- vim
- xsel
state: present
- name: "Common - File manager"
become: yes
package:
name:
- thunar
state: present
- name: "Common - Timeshift"
become: yes
package:
name:
- timeshift
state: present
- name: "Common - Node.js (asdf plugin)"
shell: . /opt/asdf-vm/asdf.sh && asdf plugin add nodejs
args:
creates: "{{ ansible_env.HOME }}/.asdf/plugins/nodejs"
- name: "Common - Java (asdf plugin)"
shell: . /opt/asdf-vm/asdf.sh && asdf plugin add java
args:
creates: "{{ ansible_env.HOME }}/.asdf/plugins/java"
- name: "Common - Go (asdf plugin)"
shell: . /opt/asdf-vm/asdf.sh && asdf plugin add golang
args:
creates: "{{ ansible_env.HOME }}/.asdf/plugins/golang"
- name: "Common - Maven (asdf plugin)"
shell: . /opt/asdf-vm/asdf.sh && asdf plugin add maven
args:
creates: "{{ ansible_env.HOME }}/.asdf/plugins/maven"
- name: "Common - oc (asdf plugin)"
shell: . /opt/asdf-vm/asdf.sh && asdf plugin add oc
args:
creates: "{{ ansible_env.HOME }}/.asdf/plugins/oc"
- name: "Common - python (asdf plugin)"
shell: . /opt/asdf-vm/asdf.sh && asdf plugin add python
args:
creates: "{{ ansible_env.HOME }}/.asdf/plugins/python"
- name: "Common - Install all versions with asdf"
shell: . /opt/asdf-vm/asdf.sh && asdf install
args:
chdir: "{{ ansible_env.HOME }}/"
creates: "{{ ansible_env.HOME }}/.asdf/installs/java"