File tree Expand file tree Collapse file tree 5 files changed +33
-10
lines changed Expand file tree Collapse file tree 5 files changed +33
-10
lines changed Original file line number Diff line number Diff line change 17
17
datadog_api_key : " {{ vars_datadog_api_key }}"
18
18
datadog_site : " datadoghq.com"
19
19
20
+ datadog_agent_version : " 7.56.2"
20
21
datadog_config :
21
22
tags :
22
23
- " env:{{ vars_environment }}"
Original file line number Diff line number Diff line change 1
1
---
2
+ vars_rustup_version : " 1.27.1"
3
+ vars_rustup_checksum : " 32a680a84cf76014915b3f8aa44e3e40731f3af92cd45eb0fcc6264fd257c428"
2
4
3
5
vars_team_login_path : " /root/team_login"
4
6
allow_ssh_extra_groups : " dev-desktop-allow-ssh"
Original file line number Diff line number Diff line change 16
16
- clang
17
17
- cmake
18
18
- gcc-mingw-w64-x86-64 # Allows running `x check --target x86_64-pc-windows-gnu`
19
- - earlyoom # Earlyoom kills processes using too much memory before they can cause trouble.
20
19
- jq
21
20
- libssl-dev
22
21
- llvm
115
114
- linux-image-extra-virtual
116
115
when : kernel_flavor.stdout == "generic"
117
116
118
- - name : Install rustup in userspace for root
119
- shell : |
120
- set -eu
121
- RUSTUP_VERSION=1.24.3
122
- RUSTUP_SHA="a3cb081f88a6789d104518b30d4aa410009cd08c3822a1226991d6cf0442a0f8"
123
- curl --proto '=https' --tlsv1.2 -sSf -O \
124
- https://raw.githubusercontent.com/rust-lang/rustup/${RUSTUP_VERSION}/rustup-init.sh
125
- echo "${RUSTUP_SHA} rustup-init.sh" | sha256sum --check --
126
- sh rustup-init.sh --default-toolchain nightly -y --component rust-src
117
+ - name : Download Rustup installer
118
+ ansible.builtin.get_url :
119
+ url : " https://raw.githubusercontent.com/rust-lang/rustup/{{ vars_rustup_version }}/rustup-init.sh"
120
+ dest : /tmp/rustup-init.sh
121
+ mode : 0744
122
+ checksum : " sha256:{{ vars_rustup_checksum }}"
123
+
124
+ - name : Install Rustup in userspace for root
125
+ ansible.builtin.command : /tmp/rustup-init.sh --default-toolchain nightly -y --component rust-src
126
+
127
+ - name : Clean up Rustup installer
128
+ ansible.builtin.file :
129
+ path : /tmp/rustup-init.sh
130
+ state : absent
127
131
128
132
- name : Check if Node is installed
129
133
command : node --version
Original file line number Diff line number Diff line change 1
1
---
2
2
3
+ - include_tasks : oom.yml
3
4
- include_tasks : dependencies.yml
4
5
- include_tasks : podman.yml
5
6
- include_tasks : quota.yml
Original file line number Diff line number Diff line change
1
+ ---
2
+ # earlyoom kills processes using too much memory before they can cause trouble.
3
+ - name : Install earlyoom
4
+ ansible.builtin.apt :
5
+ name : earlyoom
6
+ state : present
7
+
8
+ # The staging instance is so small that earlyoom prevents Ansible from executing
9
+ # the playbook successfully.
10
+ - name : Disable earlyoom on staging
11
+ ansible.builtin.service :
12
+ name : earlyoom
13
+ enabled : no
14
+ state : stopped
15
+ when : ansible_hostname == "dev-desktop-staging"
You can’t perform that action at this time.
0 commit comments