This repository has been archived by the owner on Jan 21, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
languages.yml
75 lines (61 loc) · 1.73 KB
/
languages.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
---
- name: Go
snap:
name: go
classic: yes
channel: latest/stable
- name: 'Hugo {{hugo_version}}'
apt:
deb: https://github.com/gohugoio/hugo/releases/download/v{{hugo_version}}/hugo_extended_{{hugo_version}}_Linux-64bit.deb
- name: 'Add Nodeource Key'
apt_key:
url: https://deb.nodesource.com/gpgkey/nodesource.gpg.key
state: present
- name: 'Add NodeSource Repository'
apt_repository:
repo: 'deb https://deb.nodesource.com/node_{{ node_version }} {{ ansible_distribution_release }} main'
state: present
update_cache: true
- name: 'Install NodeJS {{ node_version }}'
apt:
name: nodejs
state: latest
- name: 'Add Yarn Key'
apt_key:
url: https://dl.yarnpkg.com/debian/pubkey.gpg
- name: 'Add Yarn Repository'
apt_repository:
repo: 'deb https://dl.yarnpkg.com/debian/ stable main'
update_cache: true
- name: 'Install Yarn'
apt:
name: yarn
# http://michaelb.org/the-right-way-to-do-global-npm-install-without-sudo/
- name: 'Set Node Prefix'
become_user: "{{ ansible_user }}"
command: npm config set prefix ~/.local
- name: 'Add Corretto Key'
apt_key:
url: https://apt.corretto.aws/corretto.key
- name: 'Add Corretto Repository'
apt_repository:
repo: 'deb [arch=amd64] https://apt.corretto.aws stable main'
update_cache: yes
- name: 'Corretto JDK 11'
apt:
name: java-11-amazon-corretto-jdk
state: latest
- name: 'Corretto JDK 17'
apt:
name: java-17-amazon-corretto-jdk
state: latest
- name: 'Download Rust'
become_user: "{{ ansible_user }}"
get_url:
url: https://sh.rustup.rs
dest: /tmp/rustup-init.sh
mode: 0755
- name: 'Install Rust'
become_user: "{{ ansible_user }}"
command:
cmd: /tmp/rustup-init.sh -y